pub enum PruneCause {
Expired,
Unbound,
Released,
}Expand description
Why the sweeper pruned an address. The cause is part of the evidence: a retention audit reads which rule fired, not just that bytes left.
Variants§
Expired
A days(n) policy elapsed and no verified signed receipt covered
the address.
Unbound
A receipt_bound policy found no receipt to be bound to.
Released
Every remaining pin on the address was a released one.
Trait Implementations§
Source§impl Clone for PruneCause
impl Clone for PruneCause
impl Copy for PruneCause
Source§impl Debug for PruneCause
impl Debug for PruneCause
Source§impl<'de> Deserialize<'de> for PruneCause
impl<'de> Deserialize<'de> for PruneCause
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
impl Eq for PruneCause
Source§impl PartialEq for PruneCause
impl PartialEq for PruneCause
Source§impl Serialize for PruneCause
impl Serialize for PruneCause
impl StructuralPartialEq for PruneCause
Auto Trait Implementations§
impl Freeze for PruneCause
impl RefUnwindSafe for PruneCause
impl Send for PruneCause
impl Sync for PruneCause
impl Unpin for PruneCause
impl UnsafeUnpin for PruneCause
impl UnwindSafe for PruneCause
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