pub enum PurgeEvent {
Starting {
total_count: usize,
},
PadProcessed,
Complete {
verified_count: usize,
failed_count: usize,
},
}
Expand description
Events emitted during a purge
operation (storage cleanup/verification).
Variants§
Starting
Indicates the start of the purge
operation.
PadProcessed
Indicates that a single pad has been processed (verified or marked for cleanup).
Complete
Indicates that the purge
operation has completed.
Trait Implementations§
Source§impl Clone for PurgeEvent
impl Clone for PurgeEvent
Source§fn clone(&self) -> PurgeEvent
fn clone(&self) -> PurgeEvent
Returns a copy of the value. Read more
1.0.0 · 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 PurgeEvent
impl Debug for PurgeEvent
Source§impl<'de> Deserialize<'de> for PurgeEvent
impl<'de> Deserialize<'de> for PurgeEvent
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 PartialEq for PurgeEvent
impl PartialEq for PurgeEvent
Source§impl Serialize for PurgeEvent
impl Serialize for PurgeEvent
impl Eq for PurgeEvent
impl StructuralPartialEq for PurgeEvent
Auto Trait Implementations§
impl Freeze for PurgeEvent
impl RefUnwindSafe for PurgeEvent
impl Send for PurgeEvent
impl Sync for PurgeEvent
impl Unpin for PurgeEvent
impl UnwindSafe for PurgeEvent
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