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 error
Tuple Fields of Protocol
Handshake timeout
Peer disconnect
Server error
Tuple Fields of ServerError
0: &'static str
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.