Enum ntex_mqtt::error::ProtocolError [−][src]
pub enum ProtocolError { Decode(DecodeError), Encode(EncodeError), Unexpected(u8, &'static str), PacketIdMismatch, MaxTopicAlias, ReceiveMaximumExceeded, UnknownTopicAlias, KeepAliveTimeout, Io(Error), }
Expand description
Protocol level errors
Variants
Decode(DecodeError)
Mqtt parse error
Encode(EncodeError)
Mqtt encode error
Unexpected packet
Packet id of publish ack packet does not match of send publish packet
Topic alias is greater than max topic alias
Number of in-flight messages exceeded
Unknown topic alias
Keep alive timeout
Io(Error)
Unexpected io 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 ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl !UnwindSafe for ProtocolError