pub struct AttachmentReclamationReport {
pub scanned_intent_count: usize,
pub reclaimed_count: usize,
}Expand description
Outcome of a host-invoked orphan-attachment reclamation sweep.
See reclaim_orphaned_attachments for the full contract. Returned so
hosts can emit metrics the same way GcReport and
VacuumReport do for the store-side levers.
Fields§
§scanned_intent_count: usizeUncommitted manifest intents aged past the threshold that the sweep examined.
reclaimed_count: usizeOrphans reclaimed: bytes deleted from the store and the manifest row
forgotten. Equal to scanned_intent_count unless a delete failed.
Trait Implementations§
Source§impl Clone for AttachmentReclamationReport
impl Clone for AttachmentReclamationReport
Source§fn clone(&self) -> AttachmentReclamationReport
fn clone(&self) -> AttachmentReclamationReport
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 AttachmentReclamationReport
impl Debug for AttachmentReclamationReport
Source§impl Default for AttachmentReclamationReport
impl Default for AttachmentReclamationReport
Source§fn default() -> AttachmentReclamationReport
fn default() -> AttachmentReclamationReport
Returns the “default value” for a type. Read more
impl Eq for AttachmentReclamationReport
Source§impl PartialEq for AttachmentReclamationReport
impl PartialEq for AttachmentReclamationReport
Source§fn eq(&self, other: &AttachmentReclamationReport) -> bool
fn eq(&self, other: &AttachmentReclamationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttachmentReclamationReport
Auto Trait Implementations§
impl Freeze for AttachmentReclamationReport
impl RefUnwindSafe for AttachmentReclamationReport
impl Send for AttachmentReclamationReport
impl Sync for AttachmentReclamationReport
impl Unpin for AttachmentReclamationReport
impl UnsafeUnpin for AttachmentReclamationReport
impl UnwindSafe for AttachmentReclamationReport
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