Struct ntex_mqtt::v3::HandshakeAck
source · pub struct HandshakeAck<St> { /* private fields */ }
Expand description
Ack connect message
Implementations§
source§impl<St> HandshakeAck<St>
impl<St> HandshakeAck<St>
sourcepub fn idle_timeout(self, timeout: Seconds) -> Self
pub fn idle_timeout(self, timeout: Seconds) -> Self
Set idle time-out for the connection in seconds
By default idle time-out is set to 30 seconds.
sourcepub fn max_outgoing(self, val: u16) -> Self
pub fn max_outgoing(self, val: u16) -> Self
Number of outgoing concurrent messages.
By default outgoing is set to 16 messages
Auto Trait Implementations§
impl<St> Freeze for HandshakeAck<St>where
St: Freeze,
impl<St> !RefUnwindSafe for HandshakeAck<St>
impl<St> !Send for HandshakeAck<St>
impl<St> !Sync for HandshakeAck<St>
impl<St> Unpin for HandshakeAck<St>where
St: Unpin,
impl<St> !UnwindSafe for HandshakeAck<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