Module connection
Expand description
Low-level single-connection driver.
This module manages a single MQTT connection: transport setup, CONNECT /
CONNACK handshake, the packet read/write loop, keep-alive, and
pending-ack tracking. It is an internal implementation detail of the
crate; the public API is provided by MqttClient.
Re-exportsยง
Modulesยง
- commands ๐
- Commands sent from the client handle to the event loop, and pending-ack tracking state.
- event_
loop ๐ - Single-connection event loop.
- io ๐
- Low-level I/O helpers for reading and writing MQTT packets.