pub enum OrbitCacheRead {
Hit(OrbitCacheEntry),
Miss {
epoch: Option<u64>,
},
}Expand description
Honest read result: either the newest matching frame is a value, or
the key is currently absent. epoch is the ring counter of the
newest matching frame when one exists, useful for local L1
invalidation.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OrbitCacheRead
impl Clone for OrbitCacheRead
Source§fn clone(&self) -> OrbitCacheRead
fn clone(&self) -> OrbitCacheRead
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 OrbitCacheRead
impl Debug for OrbitCacheRead
Source§impl PartialEq for OrbitCacheRead
impl PartialEq for OrbitCacheRead
Source§fn eq(&self, other: &OrbitCacheRead) -> bool
fn eq(&self, other: &OrbitCacheRead) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OrbitCacheRead
impl StructuralPartialEq for OrbitCacheRead
Auto Trait Implementations§
impl !Freeze for OrbitCacheRead
impl RefUnwindSafe for OrbitCacheRead
impl Send for OrbitCacheRead
impl Sync for OrbitCacheRead
impl Unpin for OrbitCacheRead
impl UnsafeUnpin for OrbitCacheRead
impl UnwindSafe for OrbitCacheRead
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