pub enum CacheAgeStatus {
Fresh,
Stale,
Unmanaged,
Unknown,
}Expand description
CacheAgeStatus
Caller-relative age classification for one complete cache file.
Variants§
Fresh
The cache is within its registered family stale threshold.
Stale
The cache is older than its registered family stale threshold.
Unmanaged
The cache has a readable age but no registered family stale threshold.
Unknown
The cache age cannot be calculated from its generic timestamp evidence.
Implementations§
Trait Implementations§
Source§impl Clone for CacheAgeStatus
impl Clone for CacheAgeStatus
Source§fn clone(&self) -> CacheAgeStatus
fn clone(&self) -> CacheAgeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CacheAgeStatus
Source§impl Debug for CacheAgeStatus
impl Debug for CacheAgeStatus
impl Eq for CacheAgeStatus
Source§impl PartialEq for CacheAgeStatus
impl PartialEq for CacheAgeStatus
Source§impl Serialize for CacheAgeStatus
impl Serialize for CacheAgeStatus
impl StructuralPartialEq for CacheAgeStatus
Auto Trait Implementations§
impl Freeze for CacheAgeStatus
impl RefUnwindSafe for CacheAgeStatus
impl Send for CacheAgeStatus
impl Sync for CacheAgeStatus
impl Unpin for CacheAgeStatus
impl UnsafeUnpin for CacheAgeStatus
impl UnwindSafe for CacheAgeStatus
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