#[non_exhaustive]pub struct PruneReport {
pub before: CacheStats,
pub after: CacheStats,
pub removed: u64,
pub skipped_busy: u64,
}Expand description
Measurements from a completed prune pass.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.before: CacheStatsObject-tree measurements before pruning.
after: CacheStatsObject-tree measurements after pruning.
removed: u64Number of objects removed.
skipped_busy: u64Number of busy population-lock slots encountered.
Trait Implementations§
Source§impl Clone for PruneReport
impl Clone for PruneReport
Source§fn clone(&self) -> PruneReport
fn clone(&self) -> PruneReport
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 moreimpl Copy for PruneReport
Source§impl Debug for PruneReport
impl Debug for PruneReport
Source§impl Default for PruneReport
impl Default for PruneReport
Source§fn default() -> PruneReport
fn default() -> PruneReport
Returns the “default value” for a type. Read more
impl Eq for PruneReport
Source§impl PartialEq for PruneReport
impl PartialEq for PruneReport
Source§fn eq(&self, other: &PruneReport) -> bool
fn eq(&self, other: &PruneReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PruneReport
Auto Trait Implementations§
impl Freeze for PruneReport
impl RefUnwindSafe for PruneReport
impl Send for PruneReport
impl Sync for PruneReport
impl Unpin for PruneReport
impl UnsafeUnpin for PruneReport
impl UnwindSafe for PruneReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more