pub struct PublishingError {
pub dispatch: Dispatch,
pub failure: PublishingFailure,
}Expand description
Represents a failed publishing of a single RabbitMQ message.
Fields§
§dispatch: DispatchThe message that failed to get published.
failure: PublishingFailureThe high-level explanation of the failure.
Trait Implementations§
Source§impl Debug for PublishingError
impl Debug for PublishingError
Source§impl Display for PublishingError
impl Display for PublishingError
Source§impl Error for PublishingError
impl Error for PublishingError
1.30.0 · 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 Freeze for PublishingError
impl RefUnwindSafe for PublishingError
impl Send for PublishingError
impl Sync for PublishingError
impl Unpin for PublishingError
impl UnwindSafe for PublishingError
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