pub struct MqttClientConfiguration<'a> {Show 21 fields
pub protocol_version: Option<MqttProtocolVersion>,
pub client_id: Option<&'a str>,
pub connection_refresh_interval: Duration,
pub keep_alive_interval: Option<Duration>,
pub reconnect_timeout: Option<Duration>,
pub network_timeout: Duration,
pub lwt: Option<LwtConfiguration<'a>>,
pub disable_clean_session: bool,
pub task_prio: u8,
pub task_stack: usize,
pub buffer_size: usize,
pub out_buffer_size: usize,
pub username: Option<&'a str>,
pub password: Option<&'a str>,
pub use_global_ca_store: bool,
pub skip_cert_common_name_check: bool,
pub crt_bundle_attach: Option<unsafe extern "C" fn(conf: *mut c_void) -> esp_err_t>,
pub server_certificate: Option<X509<'static>>,
pub client_certificate: Option<X509<'static>>,
pub private_key: Option<X509<'static>>,
pub private_key_password: Option<&'a str>,
}
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.