Enum ntex_mqtt::v5::error::ClientError [−][src]
pub enum ClientError {
Ack(Box<ConnectAck>),
Protocol(ProtocolError),
HandshakeTimeout,
Disconnected,
Connect(ConnectError),
}
Expand description
Errors which can occur when attempting to handle mqtt client connection.
Variants
Ack(Box<ConnectAck>)
Connect negotiation failed
Tuple Fields of Ack
0: Box<ConnectAck>
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.