pub struct DeliveryError { /* private fields */ }Expand description
Failure while delivering one complete Event to a reporter.
Implementations§
Source§impl DeliveryError
impl DeliveryError
Sourcepub const fn reporter_error(&self) -> &ReporterError
pub const fn reporter_error(&self) -> &ReporterError
Returns the original reporter error.
Sourcepub fn into_event(self) -> Event
pub fn into_event(self) -> Event
Consumes the error and returns its failed Event.
Sourcepub fn into_reporter_error(self) -> ReporterError
pub fn into_reporter_error(self) -> ReporterError
Consumes the error and returns its reporter error.
Sourcepub fn into_parts(self) -> (Event, ReporterError)
pub fn into_parts(self) -> (Event, ReporterError)
Consumes the error and returns the Event with its reporter error.
Trait Implementations§
Source§impl Clone for DeliveryError
impl Clone for DeliveryError
Source§fn clone(&self) -> DeliveryError
fn clone(&self) -> DeliveryError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeliveryError
impl Debug for DeliveryError
Source§impl Display for DeliveryError
impl Display for DeliveryError
Auto Trait Implementations§
impl !RefUnwindSafe for DeliveryError
impl !UnwindSafe for DeliveryError
impl Freeze for DeliveryError
impl Send for DeliveryError
impl Sync for DeliveryError
impl Unpin for DeliveryError
impl UnsafeUnpin for DeliveryError
Blanket Implementations§
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