pub enum CacheEntryState {
Loading,
Ready,
Failed,
Evicting,
}Expand description
State of a cache entry
Variants§
Loading
Entry is being loaded
Ready
Entry is ready for use
Failed
Entry failed to load
Evicting
Entry is being evicted
Trait Implementations§
Source§impl Clone for CacheEntryState
impl Clone for CacheEntryState
Source§fn clone(&self) -> CacheEntryState
fn clone(&self) -> CacheEntryState
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 CacheEntryState
impl Debug for CacheEntryState
Source§impl<'de> Deserialize<'de> for CacheEntryState
impl<'de> Deserialize<'de> for CacheEntryState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CacheEntryState
impl PartialEq for CacheEntryState
Source§impl Serialize for CacheEntryState
impl Serialize for CacheEntryState
impl Copy for CacheEntryState
impl Eq for CacheEntryState
impl StructuralPartialEq for CacheEntryState
Auto Trait Implementations§
impl Freeze for CacheEntryState
impl RefUnwindSafe for CacheEntryState
impl Send for CacheEntryState
impl Sync for CacheEntryState
impl Unpin for CacheEntryState
impl UnwindSafe for CacheEntryState
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