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.