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
Show fields
Fields of Ack
session_present: bool
return_code: ConnectAckReason
Protocol(ProtocolError)
Protocol error
Handshake timeout
Peer disconnected
Connect(ConnectError)
Connect error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError