pub struct ConnectAck<Io, St> { /* private fields */ }Expand description
Ack connect message
Implementations§
Source§impl<Io, St> ConnectAck<Io, St>
impl<Io, St> ConnectAck<Io, St>
Sourcepub fn idle_timeout(self, timeout: Duration) -> Self
pub fn idle_timeout(self, timeout: Duration) -> Self
Set idle time-out for the connection in milliseconds
By default idle time-out is set to 300000 milliseconds
Auto Trait Implementations§
impl<Io, St> Freeze for ConnectAck<Io, St>
impl<Io, St> !RefUnwindSafe for ConnectAck<Io, St>
impl<Io, St> !Send for ConnectAck<Io, St>
impl<Io, St> !Sync for ConnectAck<Io, St>
impl<Io, St> Unpin for ConnectAck<Io, St>where
St: Unpin,
impl<Io, St> !UnwindSafe for ConnectAck<Io, St>
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