Enum ntex_mqtt::error::SendPacketError [−][src]
pub enum SendPacketError { Encode(EncodeError), PacketIdInUse(u16), Disconnected, }
Variants
Encode(EncodeError)
Encoder error
PacketIdInUse(u16)
Provided packet id is in use
Peer disconnected
Trait Implementations
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 ne(&self, other: &SendPacketError) -> bool
[src]
impl StructuralPartialEq for SendPacketError
[src]
impl StructuralPartialEq for SendPacketError
[src]Auto Trait Implementations
impl RefUnwindSafe for SendPacketError
impl RefUnwindSafe for SendPacketError
impl Send for SendPacketError
impl Send for SendPacketError
impl Sync for SendPacketError
impl Sync for SendPacketError
impl Unpin for SendPacketError
impl Unpin for SendPacketError
impl UnwindSafe for SendPacketError
impl UnwindSafe for SendPacketError
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self