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§
Source§impl Debug for DecodeError
impl Debug for DecodeError
Source§impl From<AmqpDecodeError> for DecodeError
impl From<AmqpDecodeError> for DecodeError
Source§fn from(err: AmqpDecodeError) -> Self
fn from(err: AmqpDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for DecodeError
impl From<FromUtf8Error> for DecodeError
Source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<IncompleteError> for DecodeError
impl From<IncompleteError> for DecodeError
Source§fn from(err: IncompleteError) -> Self
fn from(err: IncompleteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecodeError
impl RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl UnwindSafe for DecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more