[][src]Enum lapin::protocol::AMQPSoftError

pub enum AMQPSoftError {
    CONTENTTOOLARGE,
    NOROUTE,
    NOCONSUMERS,
    ACCESSREFUSED,
    NOTFOUND,
    RESOURCELOCKED,
    PRECONDITIONFAILED,
}

The available soft AMQP errors

Variants

CONTENTTOOLARGE

CONTENT-TOO-LARGE (Generated)

NOROUTE

NO-ROUTE (Generated)

NOCONSUMERS

NO-CONSUMERS (Generated)

ACCESSREFUSED

ACCESS-REFUSED (Generated)

NOTFOUND

NOT-FOUND (Generated)

RESOURCELOCKED

RESOURCE-LOCKED (Generated)

PRECONDITIONFAILED

PRECONDITION-FAILED (Generated)

Methods

impl AMQPSoftError[src]

pub fn get_id(&self) -> u16[src]

Get the id of the soft error

pub fn from_id(id: u16) -> Option<AMQPSoftError>[src]

Get the soft error corresponding to an id

Trait Implementations

impl Clone for AMQPSoftError[src]

impl Debug for AMQPSoftError[src]

impl PartialEq<AMQPSoftError> for AMQPSoftError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]