pub struct RetainedCandidates {
pub referenced: u64,
pub within_grace_window: u64,
pub no_provider_timestamp: u64,
pub unrecognized_key: u64,
pub checkpoint_not_deletable: u64,
pub upload_session_window: u64,
pub upload_session_undecided: u64,
}Expand description
The candidates inspected but not deleted by one garbage-collection pass.
Fields§
§referenced: u64Candidates protected by current references or manifest discovery.
within_grace_window: u64Unreachable candidates younger than the grace window by their provider timestamps.
no_provider_timestamp: u64Unreachable candidates without provider timestamps.
unrecognized_key: u64Unrecognized keys retained from object families scanned by garbage collection.
checkpoint_not_deletable: u64Checkpoint records whose owner or grace window prevents deletion.
upload_session_window: u64Upload sessions still protected by a lease or grace window.
upload_session_undecided: u64Upload sessions whose deletion safety could not be determined.
Implementations§
Source§impl RetainedCandidates
impl RetainedCandidates
Sourcepub fn top_reason(&self) -> Option<(&'static str, u64)>
pub fn top_reason(&self) -> Option<(&'static str, u64)>
The reason with the highest count, and that count. None when
nothing was retained. Ties go to the first reason in the fixed table
order, so one pass’s report is stable.
Trait Implementations§
Source§impl Clone for RetainedCandidates
impl Clone for RetainedCandidates
impl Copy for RetainedCandidates
Source§impl Debug for RetainedCandidates
impl Debug for RetainedCandidates
Source§impl Default for RetainedCandidates
impl Default for RetainedCandidates
Source§impl<'de> Deserialize<'de> for RetainedCandidates
impl<'de> Deserialize<'de> for RetainedCandidates
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
impl Eq for RetainedCandidates
Source§impl PartialEq for RetainedCandidates
impl PartialEq for RetainedCandidates
Source§impl Serialize for RetainedCandidates
impl Serialize for RetainedCandidates
impl StructuralPartialEq for RetainedCandidates
Auto Trait Implementations§
impl Freeze for RetainedCandidates
impl RefUnwindSafe for RetainedCandidates
impl Send for RetainedCandidates
impl Sync for RetainedCandidates
impl Unpin for RetainedCandidates
impl UnsafeUnpin for RetainedCandidates
impl UnwindSafe for RetainedCandidates
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