pub struct AgingReport {
pub tier_promoted: usize,
pub deleted: usize,
pub bytes_reclaimed: u64,
pub deletions_by_reason: Vec<(EvictionReason, usize)>,
}Expand description
Report returned by crate::MemoryProvider::run_aging_sweep.
Fields§
§tier_promoted: usizeChunks transitioned from session tier to long-term tier.
deleted: usizeChunks deleted due to aging or storage cap.
bytes_reclaimed: u64Total bytes reclaimed (best-effort estimate by the storage layer).
deletions_by_reason: Vec<(EvictionReason, usize)>Per-reason deletion counts.
Trait Implementations§
Source§impl Clone for AgingReport
impl Clone for AgingReport
Source§fn clone(&self) -> AgingReport
fn clone(&self) -> AgingReport
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 moreSource§impl Debug for AgingReport
impl Debug for AgingReport
Source§impl Default for AgingReport
impl Default for AgingReport
Source§fn default() -> AgingReport
fn default() -> AgingReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgingReport
impl<'de> Deserialize<'de> for AgingReport
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 AgingReport
impl PartialEq for AgingReport
Source§fn eq(&self, other: &AgingReport) -> bool
fn eq(&self, other: &AgingReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgingReport
impl Serialize for AgingReport
impl StructuralPartialEq for AgingReport
Auto Trait Implementations§
impl Freeze for AgingReport
impl RefUnwindSafe for AgingReport
impl Send for AgingReport
impl Sync for AgingReport
impl Unpin for AgingReport
impl UnsafeUnpin for AgingReport
impl UnwindSafe for AgingReport
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