pub enum AmqpDecodeError {
    InvalidTypeCode(u8),
    InvalidTypeCodeFor {
        target: String,
        code: TypeCode,
    },
    MessageParse(String),
    Incomplete(IncompleteError),
    Utf8Error(FromUtf8Error),
    UuidError(Error),
}Variants§
InvalidTypeCode(u8)
InvalidTypeCodeFor
MessageParse(String)
Incomplete(IncompleteError)
Utf8Error(FromUtf8Error)
UuidError(Error)
Implementations§
source§impl AmqpDecodeError
 
impl AmqpDecodeError
pub fn parse_error(msg: impl Into<String>) -> AmqpDecodeError
Trait Implementations§
source§impl Debug for AmqpDecodeError
 
impl Debug for AmqpDecodeError
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<Error> for AmqpDecodeError
 
impl From<Error> for AmqpDecodeError
source§impl From<FromUtf8Error> for AmqpDecodeError
 
impl From<FromUtf8Error> for AmqpDecodeError
source§fn from(err: FromUtf8Error) -> Self
 
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<IncompleteError> for AmqpDecodeError
 
impl From<IncompleteError> for AmqpDecodeError
source§fn from(err: IncompleteError) -> Self
 
fn from(err: IncompleteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AmqpDecodeError
impl Send for AmqpDecodeError
impl Sync for AmqpDecodeError
impl Unpin for AmqpDecodeError
impl UnwindSafe for AmqpDecodeError
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