Enum ntex_mqtt::error::DecodeError [−][src]
pub enum DecodeError { InvalidProtocol, InvalidLength, MalformedPacket, UnsupportedProtocolLevel, ConnectReservedFlagSet, ConnAckReservedFlagSet, InvalidClientId, UnsupportedPacketType, PacketIdRequired, MaxSizeExceeded, Utf8Error(Utf8Error), }
Variants
Utf8Error(Utf8Error)
Trait Implementations
impl Debug for DecodeError
[src]
impl Debug for DecodeError
[src]impl Display for DecodeError
[src]
impl Display for DecodeError
[src]impl From<DecodeError> for ProtocolError
[src]
impl From<DecodeError> for ProtocolError
[src]fn from(original: DecodeError) -> ProtocolError
[src]
fn from(original: DecodeError) -> ProtocolError
[src]Performs the conversion.
impl From<Utf8Error> for DecodeError
[src]
impl From<Utf8Error> for DecodeError
[src]fn from(original: Utf8Error) -> DecodeError
[src]
fn from(original: Utf8Error) -> DecodeError
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl UnwindSafe for DecodeError
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