Enum ntex_amqp::error::AmqpParseError[][src]

pub enum AmqpParseError {
    InvalidSize,
    Incomplete(usize),
    InvalidFormatCode(u8),
    InvalidChar(u32),
    InvalidDescriptor(Box<Descriptor, Global>),
    UnexpectedFrameType(u8),
    RequiredFieldOmitted(&'static str),
    UnknownEnumOption(&'static str),
    UuidParseError,
    UnexpectedType(&'static str),
    Utf8Error(Utf8Error),
}

Variants

InvalidSize
Incomplete(usize)

Tuple Fields of Incomplete

0: usize
InvalidFormatCode(u8)

Tuple Fields of InvalidFormatCode

0: u8
InvalidChar(u32)

Tuple Fields of InvalidChar

0: u32
InvalidDescriptor(Box<Descriptor, Global>)

Tuple Fields of InvalidDescriptor

0: Box<Descriptor, Global>
UnexpectedFrameType(u8)

Tuple Fields of UnexpectedFrameType

0: u8
RequiredFieldOmitted(&'static str)

Tuple Fields of RequiredFieldOmitted

0: &'static str
UnknownEnumOption(&'static str)

Tuple Fields of UnknownEnumOption

0: &'static str
UuidParseError
UnexpectedType(&'static str)

Tuple Fields of UnexpectedType

0: &'static str
Utf8Error(Utf8Error)

Tuple Fields of Utf8Error

0: Utf8Error

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more