pub enum CacheEntryState {
Fresh,
Stale,
Invalid,
Error,
}Expand description
Represents the state of a cached entry
Variants§
Fresh
Recently cached, valid
Stale
Needs refresh but usable
Invalid
Must be refreshed before use (invalid page, but loaded)
Error
Failed to cache properly
Trait Implementations§
Source§impl Clone for CacheEntryState
impl Clone for CacheEntryState
Source§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 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 UnsafeUnpin 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