pub enum DeliveryExpiryCause {
Timeout,
CeremonyEnded,
TargetRevoked,
QueueOverflow,
}Expand description
Why a delivery stopped being worth making.
Variants§
Timeout
Nobody acknowledged it within the policy’s own time.
CeremonyEnded
The ceremony reached a terminal phase; the question is moot.
TargetRevoked
The destination stopped being one: the binding was revoked.
QueueOverflow
One binding’s queue was full and this was the oldest thing nobody was waiting on.
Implementations§
Trait Implementations§
Source§impl Clone for DeliveryExpiryCause
impl Clone for DeliveryExpiryCause
impl Copy for DeliveryExpiryCause
Source§impl Debug for DeliveryExpiryCause
impl Debug for DeliveryExpiryCause
Source§impl<'de> Deserialize<'de> for DeliveryExpiryCause
impl<'de> Deserialize<'de> for DeliveryExpiryCause
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DeliveryExpiryCause
impl Display for DeliveryExpiryCause
impl Eq for DeliveryExpiryCause
Source§impl Hash for DeliveryExpiryCause
impl Hash for DeliveryExpiryCause
Source§impl Ord for DeliveryExpiryCause
impl Ord for DeliveryExpiryCause
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeliveryExpiryCause
impl PartialEq for DeliveryExpiryCause
Source§impl PartialOrd for DeliveryExpiryCause
impl PartialOrd for DeliveryExpiryCause
Source§impl Serialize for DeliveryExpiryCause
impl Serialize for DeliveryExpiryCause
impl StructuralPartialEq for DeliveryExpiryCause
Auto Trait Implementations§
impl Freeze for DeliveryExpiryCause
impl RefUnwindSafe for DeliveryExpiryCause
impl Send for DeliveryExpiryCause
impl Sync for DeliveryExpiryCause
impl Unpin for DeliveryExpiryCause
impl UnsafeUnpin for DeliveryExpiryCause
impl UnwindSafe for DeliveryExpiryCause
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