pub enum RabbitMQError {
ConnectionError(Error),
SerializationError(Error),
ChannelClosed,
BackoffError(String),
TimeoutError,
InvalidHeader,
InvalidEventKey(String),
InvalidPayload(String),
RabbitUri(),
}
Variants§
ConnectionError(Error)
SerializationError(Error)
ChannelClosed
BackoffError(String)
TimeoutError
InvalidHeader
InvalidEventKey(String)
InvalidPayload(String)
RabbitUri()
Trait Implementations§
Source§impl Debug for RabbitMQError
impl Debug for RabbitMQError
Source§impl Display for RabbitMQError
impl Display for RabbitMQError
Source§impl Error for RabbitMQError
impl Error for RabbitMQError
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()
Source§impl From<Error> for RabbitMQError
impl From<Error> for RabbitMQError
Source§impl From<Error> for RabbitMQError
impl From<Error> for RabbitMQError
Source§impl From<RabbitMQError> for HealthCheckError
impl From<RabbitMQError> for HealthCheckError
Source§fn from(err: RabbitMQError) -> Self
fn from(err: RabbitMQError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RabbitMQError
impl !RefUnwindSafe for RabbitMQError
impl Send for RabbitMQError
impl Sync for RabbitMQError
impl Unpin for RabbitMQError
impl !UnwindSafe for RabbitMQError
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