Enum ntex_mqtt::v3::error::ClientError [−][src]
pub enum ClientError {
Ack {
session_present: bool,
return_code: ConnectAckReason,
},
Protocol(ProtocolError),
HandshakeTimeout,
Disconnected,
Connect(ConnectError),
}
Expand description
Errors which can occur when attempting to handle mqtt client connection.
Variants
Connect negotiation failed
Fields of Ack
session_present: bool
return_code: ConnectAckReason
Protocol(ProtocolError)
Protocol error
Tuple Fields of Protocol
Handshake timeout
Peer disconnected
Connect(ConnectError)
Connect error
Tuple Fields of Connect
0: ConnectError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.