Module packet
Expand description
Control packet types. Zero-copy decode, borrowed from the input buffer.
Modulesยง
- ack ๐
- auth ๐
- connack ๐
- connect ๐
- disconnect ๐
- id_
payload ๐ - measured ๐
- 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.
- Measured
- A packet whose Remaining Length fits in a Variable Byte Integer.
- Publish
- A PUBLISH to send.
- Received
Publish - A decoded PUBLISH.
- Suback
- SUBACK packet acknowledging a SUBSCRIBE.
- Subscribe
- SUBSCRIBE packet requesting topic filter subscriptions.
- Subscription
- A subscription entry with a topic filter and its options.
- Subscription
Iter - Iterator over subscription entries in a SUBSCRIBE payload.
- Subscription
Options - Subscription options byte in a SUBSCRIBE payload entry.
- Subscriptions
- Borrowed view over a validated SUBSCRIBE payload.
- Subscriptions
Buf alloc - Owned SUBSCRIBE payload bytes, the owned counterpart to
Subscriptions. - Topic
Filter Iter - Iterator over topic filter strings in an UNSUBSCRIBE payload.
- Topic
Filters - Borrowed view over a validated UNSUBSCRIBE payload.
- Topic
Filters Buf alloc - 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ยง
- Destination
- Where a PUBLISH goes, named by topic, by alias or by both (ยง3.3.2.3.4).
- Packet
- A decoded MQTT v5 packet. All borrowed data refers to the input buffer.
- Reason
Code - All MQTT v5 reason codes.
- Retain
Handling - Retain handling option for SUBSCRIBE.
Traitsยง
- Body
- The variable header and payload of a control packet, with its fixed header byte.