Enum ntex_mqtt::v3::error::ClientError [−][src]
pub enum ClientError {
Ack {
session_present: bool,
return_code: ConnectAckReason,
},
Protocol(ProtocolError),
HandshakeTimeout,
Disconnected(Option<Error>),
Connect(ConnectError),
}
Expand description
Errors which can occur when attempting to handle mqtt client connection.
Variants
Ack
Connect negotiation failed
Protocol(ProtocolError)
Tuple Fields
Protocol error
HandshakeTimeout
Handshake timeout
Disconnected(Option<Error>)
Peer disconnected
Connect(ConnectError)
Tuple Fields
0: ConnectError
Connect error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
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
Blanket Implementations
Mutably borrows from an owned value. 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