pub struct SharedConfig {
pub keep_alive: KeepAlive,
pub session_expiry_interval: SessionExpiryInterval,
}Expand description
Negotiated configuration valid for the duration of a connection.
Fields§
§keep_alive: KeepAliveThe negotiated KeepAlive interval in seconds allowed to expire between sending two packets without the connection being closed.
session_expiry_interval: SessionExpiryIntervalThe negotiated SessionExpiryInterval after the connection has been closed.
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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