pub enum DecodeError {
Incomplete(IncompleteError),
Utf8Error(FromUtf8Error),
UnknownResponseCode(u16),
UnsupportedResponseType(u16),
MismatchSize(usize),
MessageParse(String),
InvalidFormatCode(u8),
Empty,
}
Variants
Incomplete(IncompleteError)
Utf8Error(FromUtf8Error)
UnknownResponseCode(u16)
UnsupportedResponseType(u16)
MismatchSize(usize)
MessageParse(String)
InvalidFormatCode(u8)
Empty
Trait Implementations
sourceimpl Debug for DecodeError
impl Debug for DecodeError
sourceimpl From<AmqpDecodeError> for DecodeError
impl From<AmqpDecodeError> for DecodeError
sourcefn from(err: AmqpDecodeError) -> Self
fn from(err: AmqpDecodeError) -> Self
Converts to this type from the input type.
sourceimpl From<FromUtf8Error> for DecodeError
impl From<FromUtf8Error> for DecodeError
sourcefn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<IncompleteError> for DecodeError
impl From<IncompleteError> for DecodeError
sourcefn from(err: IncompleteError) -> Self
fn from(err: IncompleteError) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more