pub struct CacheStatusReport {Show 22 fields
pub schema_version: u32,
pub cache_root: String,
pub inspected_at: String,
pub cache_root_found: bool,
pub scan_limit: usize,
pub truncated: bool,
pub family_validation_performed: bool,
pub cache_count: usize,
pub readable_header_count: usize,
pub invalid_header_count: usize,
pub fresh_count: usize,
pub stale_count: usize,
pub unmanaged_age_count: usize,
pub unknown_age_count: usize,
pub total_size_bytes: u64,
pub caches: Vec<CacheStatusRow>,
pub refresh_lock_count: usize,
pub active_refresh_lock_count: usize,
pub stale_refresh_lock_count: usize,
pub invalid_refresh_lock_count: usize,
pub refresh_lock_size_bytes: u64,
pub refresh_locks: Vec<CacheRefreshLockStatusRow>,
}Expand description
CacheStatusReport
Bounded local inventory of known complete caches and refresh locks.
Fields§
§schema_version: u32Cache-status report schema version.
cache_root: StringInspected user-level cache root.
inspected_at: StringUTC timestamp at which local inspection was requested.
cache_root_found: boolWhether the cache root existed.
scan_limit: usizeMaximum number of cache and refresh-lock files inspected in one report.
truncated: boolWhether additional cache or refresh-lock candidates existed beyond the scan limit.
family_validation_performed: boolWhether the generic inventory performed family-specific semantic validation.
cache_count: usizeNumber of cache rows returned.
readable_header_count: usizeNumber of caches with readable generic headers.
invalid_header_count: usizeNumber of caches with unreadable or malformed generic headers.
fresh_count: usizeNumber of caches fresh under an explicit family policy.
stale_count: usizeNumber of caches stale under an explicit family policy.
unmanaged_age_count: usizeNumber of readable caches whose family has no registered age policy.
unknown_age_count: usizeNumber of caches whose age cannot be calculated from generic evidence.
total_size_bytes: u64Sum of filesystem sizes for returned cache files.
caches: Vec<CacheStatusRow>Canonically path-ordered cache rows.
refresh_lock_count: usizeNumber of refresh-lock rows returned.
active_refresh_lock_count: usizeNumber of locks still active under their recorded stale policy.
stale_refresh_lock_count: usizeNumber of locks older than their recorded stale policy.
invalid_refresh_lock_count: usizeNumber of unreadable, malformed, or future-dated locks.
refresh_lock_size_bytes: u64Sum of filesystem sizes for returned refresh-lock files.
refresh_locks: Vec<CacheRefreshLockStatusRow>Canonically path-ordered refresh-lock rows.
Trait Implementations§
Source§impl Clone for CacheStatusReport
impl Clone for CacheStatusReport
Source§fn clone(&self) -> CacheStatusReport
fn clone(&self) -> CacheStatusReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more