Struct paho_mqtt::disconnect_options::DisconnectOptionsBuilder [] [src]

pub struct DisconnectOptionsBuilder { /* fields omitted */ }

Methods

impl DisconnectOptionsBuilder
[src]

Sets the time interval to allow the disconnect to complete. This specifies the time to allow in-flight messages to complete.

Arguments

timeout The time interval to allow the disconnect to complete. This has a resolution of seconds.

Finalize the builder to create the connect options.