[−][src]Enum amqp_manager::AmqpConsumerError
The error type returned in the AmqpConsumerResult<T>
struct.
Variants
RecoverableError(String)
UnrecoverableError(String)
DuplicatedEventError(String)
Implementations
impl AmqpConsumerError
[src]
pub fn nack_options(error: &Self) -> BasicNackOptions
[src]
A helper method that returns a BasicNackOptions
instance depending on the error type.
Example: channel.basic_nack(delivery_tag, error::nack_options()).map(|_| ()).await
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AmqpConsumerError
impl Send for AmqpConsumerError
impl Sync for AmqpConsumerError
impl Unpin for AmqpConsumerError
impl UnwindSafe for AmqpConsumerError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,