Struct ntex_mqtt::v5::HandshakeAck [−][src]
pub struct HandshakeAck<Io, St> { /* fields omitted */ }
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
.
Set read/write buffer sizes
By default max buffer size is 4kb for both read and write buffer, Min size is 256 bytes.
Access to ConnectAck packet
Auto Trait Implementations
impl<Io, St> !RefUnwindSafe for HandshakeAck<Io, St>
impl<Io, St> !Send for HandshakeAck<Io, St>
impl<Io, St> !Sync for HandshakeAck<Io, St>
impl<Io, St> Unpin for HandshakeAck<Io, St> where
Io: Unpin,
St: Unpin,
impl<Io, St> !UnwindSafe for HandshakeAck<Io, St>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more