pub enum CacheStatus {
Hit,
Miss,
Disabled,
}Expand description
Whether a schema was served from disk cache or fetched from the network.
Variants§
Hit
Schema was found in the disk cache.
Miss
Schema was fetched from the network (and possibly written to cache).
Disabled
Caching is disabled (cache_dir is None).
Trait Implementations§
Source§impl Clone for CacheStatus
impl Clone for CacheStatus
Source§fn clone(&self) -> CacheStatus
fn clone(&self) -> CacheStatus
Returns a duplicate 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 PartialEq for CacheStatus
impl PartialEq 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 UnsafeUnpin 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> 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.