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
Tuple Fields of Decode
0: DecodeError
Encode(EncodeError)
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
Io(Error)
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.
Auto Trait Implementations
impl !RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl !UnwindSafe for ProtocolError
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