Expand description
Modules§
Structs§
- Fixed
Header - Packet type from a byte
Enums§
- Error
- Error during serialization and deserialization
- Packet
Type - MQTT packet type
- Protocol
- Protocol type
- QoS
- Quality of service
Functions§
- check
- Checks if the stream has enough bytes to frame a packet and returns fixed header
only if a packet can be framed with existing bytes in the
stream. The passed stream doesn’t modify parent stream’s cursor. If this function returned an error, nextcheckon the same parent stream is forced start with cursor at 0 again (Iter is owned. Only Iter’s cursor is changed internally) - has_
wildcards - Checks if a topic or topic filter has wildcards
- matches
- Checks if topic matches a filter. topic and filter validation isn’t done here.
- qos
- Maps a number to QoS
- valid_
filter - Checks if the filter is valid
- valid_
topic - Checks if a topic is valid