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