Enum ntex_mqtt::error::SendPacketError [−][src]
pub enum SendPacketError { Encode(EncodeError), PacketIdInUse(u16), Disconnected, }
Variants
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 SendPacketError
[src]
impl Debug for SendPacketError
[src]impl Display for SendPacketError
[src]
impl Display for SendPacketError
[src]impl PartialEq<SendPacketError> for SendPacketError
[src]
impl PartialEq<SendPacketError> for SendPacketError
[src]fn eq(&self, other: &SendPacketError) -> bool
[src]
fn eq(&self, other: &SendPacketError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SendPacketError) -> bool
[src]
fn ne(&self, other: &SendPacketError) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for SendPacketError
[src]
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
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