Module options
Available on crate feature
tokio only.Expand description
Client options with MQTT v5 connect properties and reconnect configuration.
Structs§
- Backoff
Multiplier - Exponential backoff multiplier, constrained to be finite and
>= 1.0. - Client
Options - Options for the MQTT v5 client.
- Jitter
- Backoff jitter as a fraction of the delay, constrained to
0.0..=1.0. - Reconnect
Options - Configuration for automatic reconnection with exponential backoff.
- Will
Options - Configuration for the MQTT will message (Last Will and Testament).
Enums§
- Clean
Start - Whether to start a new session when the client starts (§3.1.2.4).
Constants§
- DEFAULT_
ACK_ TIMEOUT - Default
ack_timeout: 60 seconds. - DEFAULT_
CONNECT_ TIMEOUT - Default
connect_timeout: 30 seconds. - DEFAULT_
MAX_ PACKET_ SIZE - Default
maximum_packet_size: 16 MiB.