pub enum CacheGetStatus {
Hit,
Miss,
MissAlreadyLoading,
}Expand description
Status of a [Cache] GET request.
Variants§
Hit
The requested entry was present in the storage backend.
Miss
The requested entry was NOT present in the storage backend and there’s no running value loader.
MissAlreadyLoading
The requested entry was NOT present in the storage backend, but there was already a running value loader for this particular key.
Implementations§
Trait Implementations§
Source§impl Clone for CacheGetStatus
impl Clone for CacheGetStatus
Source§fn clone(&self) -> CacheGetStatus
fn clone(&self) -> CacheGetStatus
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 CacheGetStatus
impl Debug for CacheGetStatus
Source§impl PartialEq for CacheGetStatus
impl PartialEq for CacheGetStatus
impl Copy for CacheGetStatus
impl Eq for CacheGetStatus
impl StructuralPartialEq for CacheGetStatus
Auto Trait Implementations§
impl Freeze for CacheGetStatus
impl RefUnwindSafe for CacheGetStatus
impl Send for CacheGetStatus
impl Sync for CacheGetStatus
impl Unpin for CacheGetStatus
impl UnwindSafe for CacheGetStatus
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