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.