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 Freeze for AmqpDecodeError
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