pub struct EvictedEntry {
pub key_hex_prefix: String,
pub created_at_unix: u64,
pub footprint: u64,
pub matched_mode: EvictionMode,
}Expand description
Per-entry eviction detail surfaced for AUX-024 dry-run
rendering.
One instance per evicted entry; the CLI displays the list
only under --dry-run per AUX-024, but the cache layer
always populates it (the cost is one Vec allocation of
modest size, and the audit-friendliness is worth it).
Fields§
§key_hex_prefix: StringFirst eight hex characters of the entry’s cache key, per
AUX-024 (“first 8 hex characters suffice for
human-readable output”). Sourced from the entry
directory’s basename when the manifest is unparseable.
created_at_unix: u64Manifest’s created_at_unix field when available; zero
when the manifest is missing or unparseable.
footprint: u64Manifest-declared footprint of the entry (stdout_len + stderr_len + sum(outputs[].size)). Zero when the manifest
is unavailable.
matched_mode: EvictionModePriority mode that accounted for this entry’s eviction.
Trait Implementations§
Source§impl Clone for EvictedEntry
impl Clone for EvictedEntry
Source§fn clone(&self) -> EvictedEntry
fn clone(&self) -> EvictedEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EvictedEntry
impl Debug for EvictedEntry
Source§impl PartialEq for EvictedEntry
impl PartialEq for EvictedEntry
Source§fn eq(&self, other: &EvictedEntry) -> bool
fn eq(&self, other: &EvictedEntry) -> bool
self and other values to be equal, and is used by ==.