Modules

Structs

Connack packet (MQTT 3.2).
Connect packet (MQTT 3.1).
Message that the server should publish when the client disconnects.
Packet Identifier.
Publish packet (MQTT 3.3).
Subsack packet (MQTT 3.9).
Subscribe packet (MQTT 3.8).
Subscribe topic.
Unsubscribe packet (MQTT 3.10).

Enums

Sucess value of a Connack packet.
Errors returned by encode() and decode().
Base enum for all MQTT packet types.
Packet type variant, without the associated data.
Protocol version.
Packet delivery Quality of Service level.
Combined QoS/Pid.
Subscribe return value.

Functions

Encode a Packet enum into a u8 slice.