pub struct DeliveryFailure {
pub inbox: Url,
pub sender: String,
pub status: Option<u16>,
pub error: String,
pub tag: Option<String>,
pub deadline: bool,
}Expand description
A delivery that will not be tried again.
Fields§
§inbox: Url§sender: String§status: Option<u16>The status the inbox last answered with, if it answered. A 410 says the inbox, or its whole server, is gone for good.
error: String§tag: Option<String>The tag of the batch it was sent in, if any.
deadline: boolWhether it was given up on for its batch’s deadline, rather than for the retry policy or an answer that will not change.
Trait Implementations§
Source§impl Clone for DeliveryFailure
impl Clone for DeliveryFailure
Source§fn clone(&self) -> DeliveryFailure
fn clone(&self) -> DeliveryFailure
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 moreAuto Trait Implementations§
impl Freeze for DeliveryFailure
impl RefUnwindSafe for DeliveryFailure
impl Send for DeliveryFailure
impl Sync for DeliveryFailure
impl Unpin for DeliveryFailure
impl UnsafeUnpin for DeliveryFailure
impl UnwindSafe for DeliveryFailure
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