pub enum ProcessingError<Error> {
HandlerError(HandlerError<Error>),
AckError(Error),
NackError {
error: Error,
handler_error: Option<Error>,
error_type: ErrorType,
},
}Variants§
HandlerError(HandlerError<Error>)
An error was encountered while processing the message.
AckError(Error)
Failed to ack message.
NackError
Failed to nack message.
Trait Implementations§
Source§impl<Error: Debug> Debug for ProcessingError<Error>
impl<Error: Debug> Debug for ProcessingError<Error>
Source§impl<Error> Display for ProcessingError<Error>
impl<Error> Display for ProcessingError<Error>
Source§impl<Error> Error for ProcessingError<Error>
impl<Error> Error for ProcessingError<Error>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<Error> Freeze for ProcessingError<Error>where
Error: Freeze,
impl<Error> RefUnwindSafe for ProcessingError<Error>where
Error: RefUnwindSafe,
impl<Error> Send for ProcessingError<Error>where
Error: Send,
impl<Error> Sync for ProcessingError<Error>where
Error: Sync,
impl<Error> Unpin for ProcessingError<Error>where
Error: Unpin,
impl<Error> UnwindSafe for ProcessingError<Error>where
Error: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more