pub struct BatchPublishingError {
pub published: Vec<Dispatch>,
pub not_published: NonEmpty<PublishingError>,
}Expand description
Represents a (partially) failed publishing of a batch of RabbitMQ messages.
Fields§
§published: Vec<Dispatch>The messages that went through (successfully published).
not_published: NonEmpty<PublishingError>The messages that did not go through (failed to get published).
Trait Implementations§
Source§impl Debug for BatchPublishingError
impl Debug for BatchPublishingError
Source§impl Display for BatchPublishingError
impl Display for BatchPublishingError
Source§impl Error for BatchPublishingError
impl Error for BatchPublishingError
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 BatchPublishingError
impl RefUnwindSafe for BatchPublishingError
impl Send for BatchPublishingError
impl Sync for BatchPublishingError
impl Unpin for BatchPublishingError
impl UnwindSafe for BatchPublishingError
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