pub enum CacheLookupStatus {
Hit(Manifest),
MissNoEntry,
MissSchemaMismatch,
MissCorruptEntry,
}Expand description
Discriminated outcome of Cache::lookup_status per
AUX-015 step 11.
Variants§
Hit(Manifest)
A valid manifest exists per CACHE-015: schema matches,
every declared blob is present at the declared size, and
the captured stdout / stderr streams are present at the
declared lengths.
MissNoEntry
No manifest at the key’s shard path.
MissSchemaMismatch
Manifest exists and parses, but its chapter_revision or
hash_function differs from the cache’s active
configuration per CACHE-016.
MissCorruptEntry
Manifest exists, parses, and matches the schema, but at
least one declared blob is missing or size-mismatched per
CACHE-015 step 4 / 5. Also surfaces an unparseable
manifest, which is the “entry exists on disk but is
corrupt” shape CACHE-016 lists.
Trait Implementations§
Source§impl Clone for CacheLookupStatus
impl Clone for CacheLookupStatus
Source§fn clone(&self) -> CacheLookupStatus
fn clone(&self) -> CacheLookupStatus
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 CacheLookupStatus
impl Debug for CacheLookupStatus
Source§impl PartialEq for CacheLookupStatus
impl PartialEq for CacheLookupStatus
Source§fn eq(&self, other: &CacheLookupStatus) -> bool
fn eq(&self, other: &CacheLookupStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CacheLookupStatus
impl StructuralPartialEq for CacheLookupStatus
Auto Trait Implementations§
impl Freeze for CacheLookupStatus
impl RefUnwindSafe for CacheLookupStatus
impl Send for CacheLookupStatus
impl Sync for CacheLookupStatus
impl Unpin for CacheLookupStatus
impl UnsafeUnpin for CacheLookupStatus
impl UnwindSafe for CacheLookupStatus
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