pub enum LoadOutcome {
Absent,
Loaded {
foreign_versions_dropped: usize,
},
Corrupt {
detail: String,
},
}Expand description
How the cache file loaded (the reference’s log-once outcomes, surfaced as data).
Variants§
Absent
No file yet (first boot).
Loaded
The file parsed; entries from other engine versions were dropped (count named).
Corrupt
The file exists but is unreadable or corrupt: the cache starts empty (the reference logs a warning; the data rides here).
Trait Implementations§
Source§impl Clone for LoadOutcome
impl Clone for LoadOutcome
Source§impl Debug for LoadOutcome
impl Debug for LoadOutcome
impl Eq for LoadOutcome
Source§impl PartialEq for LoadOutcome
impl PartialEq for LoadOutcome
impl StructuralPartialEq for LoadOutcome
Auto Trait Implementations§
impl Freeze for LoadOutcome
impl RefUnwindSafe for LoadOutcome
impl Send for LoadOutcome
impl Sync for LoadOutcome
impl Unpin for LoadOutcome
impl UnsafeUnpin for LoadOutcome
impl UnwindSafe for LoadOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.