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
Mqtt parse error
Tuple Fields of Decode
0: DecodeError
Mqtt encode error
Tuple Fields of Encode
0: EncodeError
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
Unexpected io error
Tuple Fields of Io
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.