Struct paho_mqtt::connect_options::ConnectOptions
[−]
[src]
pub struct ConnectOptions { pub copts: MQTTAsync_connectOptions, // some fields omitted }
The collection of options for connecting to a broker.
Fields
copts: MQTTAsync_connectOptions
Methods
impl ConnectOptions
[src]
fn new() -> ConnectOptions
Creates a new, default set of connect options
fn set_clean_session(&mut self, clean: bool)
fn get_clean_session(&self) -> bool
Trait Implementations
impl Debug for ConnectOptions
[src]
impl Default for ConnectOptions
[src]
fn default() -> ConnectOptions
Returns the "default value" for a type. Read more
impl Clone for ConnectOptions
[src]
fn clone(&self) -> ConnectOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more