[−][src]Module rumq_core::mqtt4
Modules
codec |
Structs
Connack | |
Connect | |
LastWill | |
PacketIdentifier | |
Publish | |
Suback | |
Subscribe | |
SubscribeTopic | |
Unsubscribe |
Enums
ConnectReturnCode | |
Packet | |
PacketType | |
Protocol | |
QoS | |
SubscribeReturnCodes |
Traits
AsyncMqttRead | |
AsyncMqttWrite | |
MqttRead | |
MqttWrite |
Functions
connack | |
connect | |
connect_return | |
empty_subscribe | |
has_wildcards | |
matches | checks if topic matches a filter. topic and filter validation isn't done here. NOTE: 'topic' is a misnomer in the arg. this can also be used to match 2 wild subscriptions NOTE: make sure a topic is validated during a publish and filter is validated during a subscribe |
packet_type | |
publish | |
qos | 7 3 0 +--------------------------+--------------------------+ byte 1 | MQTT Control Packet Type | Flags for each type | +--------------------------+--------------------------+ | Remaining Bytes Len (1 - 4 bytes) | +-----------------------------------------------------+ |
suback | |
subscribe | |
valid_filter | checks if the filter is valid https://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718106 |
valid_topic | checks if a topic is valid |