pub struct PruneResult {
pub records_pruned: usize,
pub records_marked_out_of_range: usize,
pub records_cleared: usize,
pub paid_entries_pruned: usize,
pub paid_entries_marked: usize,
pub paid_entries_cleared: usize,
}Expand description
Summary of a prune pass.
Fields§
§records_pruned: usizeNumber of records deleted from storage.
records_marked_out_of_range: usizeNumber of records with out-of-range timestamp newly set.
records_cleared: usizeNumber of records with out-of-range timestamp cleared (back in range).
paid_entries_pruned: usizeNumber of PaidForList entries removed.
paid_entries_marked: usizeNumber of PaidForList entries with out-of-range timestamp newly set.
paid_entries_cleared: usizeNumber of PaidForList entries cleared (back in range).
Trait Implementations§
Source§impl Debug for PruneResult
impl Debug for PruneResult
Source§impl Default for PruneResult
impl Default for PruneResult
Source§fn default() -> PruneResult
fn default() -> PruneResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PruneResult
impl RefUnwindSafe for PruneResult
impl Send for PruneResult
impl Sync for PruneResult
impl Unpin for PruneResult
impl UnsafeUnpin for PruneResult
impl UnwindSafe for PruneResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more