Enum amq_protocol::protocol::AMQPErrorKind [−][src]
pub enum AMQPErrorKind {
Soft(AMQPSoftError),
Hard(AMQPHardError),
}
Expand description
The kind of AMQP Error
Variants
Soft(AMQPSoftError)
Tuple Fields
A soft AMQP error
Hard(AMQPHardError)
Tuple Fields
A hard AMQP error
Implementations
Get the id of the error
Get the error kind corresponding to an id
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AMQPErrorKind
impl Send for AMQPErrorKind
impl Sync for AMQPErrorKind
impl Unpin for AMQPErrorKind
impl UnwindSafe for AMQPErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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