Enum ntex_mqtt::error::SendPacketError [−][src]
pub enum SendPacketError {
Encode(EncodeError),
PacketIdInUse(u16),
Disconnected,
}
Variants
Encode(EncodeError)
Encoder error
Tuple Fields of Encode
0: EncodeError
PacketIdInUse(u16)
Provided packet id is in use
Tuple Fields of PacketIdInUse
0: u16
Peer disconnected
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SendPacketError
impl Send for SendPacketError
impl Sync for SendPacketError
impl Unpin for SendPacketError
impl UnwindSafe for SendPacketError
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