Expand description
Options for subscribing to topics MQTT v5 subscribe options for the Paho MQTT Rust client library. These are defined in section 3.8.3.1 of the MQTT v5 spec. The defaults use the behavior that was present in MQTT v3.1.1.
Structs§
- Subscribe
Options - The MQTT v5 subscribe options.
- Subscribe
Options Builder - Builder for creating subscription options.
Enums§
- Retain
Handling - The options for subscription retain handling.
Constants§
- NO_
RETAIN_ AS_ PUBLISHED - Retain flag is only set on publications sent by a broker if in response to a subscribe request. This is the default and the same behavior as MQTT v3.x
- RETAIN_
AS_ PUBLISHED - Keep the retain flag as on the original publish message
- SUBSCRIBE_
LOCAL - Receive our own publications when subscribed to the same topics. This is the default and the same behavior as MQTT v3.x
- SUBSCRIBE_
NO_ LOCAL - Don’t receive our own publications when subscribed to the same topics.