Enum ntex_mqtt::v5::error::PublishQos1Error [−][src]
pub enum PublishQos1Error {
Fail(PublishAck),
Encode(EncodeError),
PacketIdInUse(u16),
Disconnected,
}
Variants
Fail(PublishAck)
Negative ack from peer
Tuple Fields of Fail
0: PublishAck
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 PublishQos1Error
impl Send for PublishQos1Error
impl Sync for PublishQos1Error
impl Unpin for PublishQos1Error
impl UnwindSafe for PublishQos1Error
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