Expand description
MQTT v5.0 protocol implementation MQTT v5 Protocol codec
Re-exports§
pub use crate::types::ConnectAckFlags;pub use crate::types::ConnectFlags;pub use crate::types::QoS;
Structs§
- Auth
- AUTH message
- Codec
- MQTT v5.0 protocol codec implementing
tokio_util::codecDecoder/Encoder - Connect
- Connect packet content
- Connect
Ack - Connect acknowledgment packet
- Disconnect
- DISCONNECT message
- Last
Will - Connection Will
- Publish
Ack - PUBACK/PUBREC message content
- Publish
Ack2 - PUBREL/PUBCOMP message content
- Publish
Properties - Properties for MQTT v5 PUBLISH packets
- Subscribe
- Represents SUBSCRIBE packet
- Subscribe
Ack - Represents SUBACK packet
- Subscription
Options - Subscription options for MQTT v5 SUBSCRIBE packets
- Unsubscribe
- Represents UNSUBSCRIBE packet
- Unsubscribe
Ack - Represents UNSUBACK packet
Enums§
- Auth
Reason Code - AUTH reason codes
- Connect
AckReason - CONNACK reason codes
- Disconnect
Reason Code - DISCONNECT reason codes
- Packet
- MQTT Control Packets
- Publish
Ack2 Reason - PUBREL / PUBCOMP reason codes
- Publish
AckReason - PUBACK / PUBREC reason codes
- Retain
Handling - Retain handling options for MQTT v5 subscriptions
- Subscribe
AckReason - SUBACK reason codes
- Unsubscribe
AckReason - UNSUBACK reason codes
Traits§
- ToReason
Code - Trait for types that can be mapped to a
DisconnectReasonCode
Type Aliases§
- User
Properties - A list of user properties for MQTT v5 packets
- User
Property - A key-value pair representing a single user property