Enum ntex_mqtt::error::MqttError [−][src]
pub enum MqttError<E> {
Service(E),
Protocol(ProtocolError),
HandshakeTimeout,
Disconnected,
ServerError(&'static str),
}
Expand description
Errors which can occur when attempting to handle mqtt connection.
Variants
Publish handler service error
Protocol(ProtocolError)
Protocol error
Tuple Fields of Protocol
Handshake timeout
Peer disconnect
ServerError(&'static str)
Server error
Tuple Fields of ServerError
0: &'static str
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<E> !RefUnwindSafe for MqttError<E>
impl<E> !UnwindSafe for MqttError<E>
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