pub enum LookupOutcome {
Hit(Payload),
Miss,
Invalidated,
}Variants§
Hit(Payload)
Cache hit. The payload is byte-for-byte the same as the original execution and (for revalidating lookups) every file root has been confirmed unchanged.
Miss
No entry for this key.
Invalidated
Entry existed but a file root has changed; the entry has been removed from the registry so subsequent lookups behave as Miss without paying the revalidation cost again.
Trait Implementations§
Source§impl Clone for LookupOutcome
impl Clone for LookupOutcome
Source§fn clone(&self) -> LookupOutcome
fn clone(&self) -> LookupOutcome
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 LookupOutcome
impl Debug for LookupOutcome
Source§impl PartialEq for LookupOutcome
impl PartialEq for LookupOutcome
Source§fn eq(&self, other: &LookupOutcome) -> bool
fn eq(&self, other: &LookupOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LookupOutcome
Auto Trait Implementations§
impl Freeze for LookupOutcome
impl RefUnwindSafe for LookupOutcome
impl Send for LookupOutcome
impl Sync for LookupOutcome
impl Unpin for LookupOutcome
impl UnsafeUnpin for LookupOutcome
impl UnwindSafe for LookupOutcome
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