[][src]Module paho_mqtt::subscribe_options

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

SubscribeOptions

The MQTT v5 subscribe options.

SubscribeOptionsBuilder

Builder for creating subscription options.

Enums

RetainHandling

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

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.

SUBSCRIBE_NO_LOCAL

Don't receive our own publications when subscribed to the same topics.