pub struct DedupSweepReport { /* private fields */ }Expand description
Summary produced by a dedup TTL sweep.
Implementations§
Source§impl DedupSweepReport
impl DedupSweepReport
Sourcepub const fn scanned_entries(self) -> usize
pub const fn scanned_entries(self) -> usize
Number of scanned stored dedup events.
Sourcepub const fn expired_entries(self) -> usize
pub const fn expired_entries(self) -> usize
Number of logical cache entries tombstoned by the sweep.
Sourcepub const fn retained_entries(self) -> usize
pub const fn retained_entries(self) -> usize
Number of latest active entries retained after the sweep.
Trait Implementations§
Source§impl Clone for DedupSweepReport
impl Clone for DedupSweepReport
Source§fn clone(&self) -> DedupSweepReport
fn clone(&self) -> DedupSweepReport
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 DedupSweepReport
Source§impl Debug for DedupSweepReport
impl Debug for DedupSweepReport
impl Eq for DedupSweepReport
Source§impl PartialEq for DedupSweepReport
impl PartialEq for DedupSweepReport
Source§fn eq(&self, other: &DedupSweepReport) -> bool
fn eq(&self, other: &DedupSweepReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DedupSweepReport
Auto Trait Implementations§
impl Freeze for DedupSweepReport
impl RefUnwindSafe for DedupSweepReport
impl Send for DedupSweepReport
impl Sync for DedupSweepReport
impl Unpin for DedupSweepReport
impl UnsafeUnpin for DedupSweepReport
impl UnwindSafe for DedupSweepReport
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.