pub struct SessionOptions {
pub connection_settings: MqttConnectionSettings,
pub reconnect_policy: Box<dyn ReconnectPolicy>,
pub outgoing_max: usize,
pub aio_broker_features: bool,
}
Expand description
Options for configuring a new Session
Fields§
§connection_settings: MqttConnectionSettings
MQTT Connection Settings for configuring the Session
reconnect_policy: Box<dyn ReconnectPolicy>
Reconnect Policy to by used by the Session
outgoing_max: usize
Maximum number of queued outgoing messages not yet accepted by the MQTT Session
aio_broker_features: bool
Indicates if the Session should use features specific for use with the AIO MQTT Broker
Auto Trait Implementations§
impl Freeze for SessionOptions
impl !RefUnwindSafe for SessionOptions
impl !Send for SessionOptions
impl !Sync for SessionOptions
impl Unpin for SessionOptions
impl !UnwindSafe for SessionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more