Enum ntex_mqtt::v5::error::PublishQos1Error [−][src]
pub enum PublishQos1Error { Fail(PublishAck), Encode(EncodeError), PacketIdInUse(u16), Disconnected, }
Variants
Fail(PublishAck)
Expand description
Negative ack from peer
Encode(EncodeError)
Expand description
Encoder error
PacketIdInUse(u16)
Expand description
Provided packet id is in use
Expand description
Peer disconnected
Trait Implementations
impl Debug for PublishQos1Error
[src]
impl Debug for PublishQos1Error
[src]impl Display for PublishQos1Error
[src]
impl Display for PublishQos1Error
[src]impl PartialEq<PublishQos1Error> for PublishQos1Error
[src]
impl PartialEq<PublishQos1Error> for PublishQos1Error
[src]fn eq(&self, other: &PublishQos1Error) -> bool
[src]
fn eq(&self, other: &PublishQos1Error) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PublishQos1Error) -> bool
[src]
fn ne(&self, other: &PublishQos1Error) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for PublishQos1Error
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self