Expand description
Synchronous MQTT 3.1.1 / 5.0 client — blocking API, no async runtime.
Client is Send + Sync: it uniquely owns one connection.
Writes run on the caller thread; a read thread and an optional keepalive
thread own the rest of the connection. Dropping a still-connected Client
sends DISCONNECT.
§Crates
symqtt— this crate: connect, publish, subscribe, sessionsymqtt-codec— packet encode/decodesymqtt-transport— TCP / TLS
§Example
See v3::Client::connect and v5::Client::connect.