#[repr(u8)]pub enum CacheStatus {
Hit = 0,
PartialHit = 1,
Miss = 2,
}
Expand description
Cache status of a subgraph call.
Variants§
Hit = 0
All data fetched from cache.
PartialHit = 1
Some data fetched from cache.
Miss = 2
Cache miss
Trait Implementations§
Source§impl Clone for CacheStatus
impl Clone for CacheStatus
Source§fn clone(&self) -> CacheStatus
fn clone(&self) -> CacheStatus
Returns a copy of the value. Read more
1.0.0 · 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 CacheStatus
impl Debug for CacheStatus
Source§impl Ord for CacheStatus
impl Ord for CacheStatus
Source§fn cmp(&self, other: &CacheStatus) -> Ordering
fn cmp(&self, other: &CacheStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CacheStatus
impl PartialEq for CacheStatus
Source§impl PartialOrd for CacheStatus
impl PartialOrd for CacheStatus
impl Copy for CacheStatus
impl Eq for CacheStatus
impl StructuralPartialEq for CacheStatus
Auto Trait Implementations§
impl Freeze for CacheStatus
impl RefUnwindSafe for CacheStatus
impl Send for CacheStatus
impl Sync for CacheStatus
impl Unpin for CacheStatus
impl UnwindSafe for CacheStatus
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.