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.
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
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