Module packet

Module packet 

Expand description

Control packet types. Zero-copy decode, borrowed from the input buffer.

Modulesยง

ack ๐Ÿ”’
auth ๐Ÿ”’
connack ๐Ÿ”’
connect ๐Ÿ”’
disconnect ๐Ÿ”’
id_payload ๐Ÿ”’
publish ๐Ÿ”’
reason_code ๐Ÿ”’
reason_header ๐Ÿ”’
suback ๐Ÿ”’
subscribe ๐Ÿ”’
unsuback ๐Ÿ”’
unsubscribe ๐Ÿ”’

Structsยง

Ack
Acknowledgement packet (PUBACK, PUBREC, PUBREL, PUBCOMP).
Auth
AUTH packet for enhanced authentication.
Connack
CONNACK packet sent by the server in response to CONNECT.
Connect
CONNECT packet sent by the client to initiate a session.
Disconnect
DISCONNECT packet signaling connection termination.
Publish
PUBLISH packet carrying an application message.
Suback
SUBACK packet acknowledging a SUBSCRIBE.
Subscribe
SUBSCRIBE packet requesting topic filter subscriptions.
Subscription
A single subscription entry (topic filter + options).
SubscriptionIter
Iterator over subscription entries in a SUBSCRIBE payload.
SubscriptionOptions
Subscription options byte in a SUBSCRIBE payload entry.
Subscriptions
Borrowed view over a validated SUBSCRIBE payload.
SubscriptionsBufalloc
Owned SUBSCRIBE payload bytes, the owned counterpart to Subscriptions.
TopicFilterIter
Iterator over topic filter strings in an UNSUBSCRIBE payload.
TopicFilters
Borrowed view over a validated UNSUBSCRIBE payload.
TopicFiltersBufalloc
Owned UNSUBSCRIBE payload bytes, the owned counterpart to TopicFilters.
Unsuback
UNSUBACK packet acknowledging an UNSUBSCRIBE.
Unsubscribe
UNSUBSCRIBE packet requesting removal of topic filter subscriptions.
Will
Will message included in a CONNECT packet.

Enumsยง

Packet
A decoded MQTT v5 packet. All borrowed data refers to the input buffer.
ReasonCode
All MQTT v5 reason codes.
RetainHandling
Retain handling option for SUBSCRIBE.