Struct ntex_mqtt::v5::HandshakeAck

source ·
pub struct HandshakeAck<St> { /* private fields */ }
Expand description

Handshake ack message

Implementations

Set idle keep-alive for the connection in seconds. This method sets server_keepalive_sec property for ConnectAck response packet.

By default idle keep-alive is set to 30 seconds. Panics if timeout is 0.

Access to ConnectAck packet

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.