pub enum CacheRefreshLockStatus {
Active,
Stale,
Invalid,
}Expand description
CacheRefreshLockStatus
Generic age or validity classification for one refresh lock.
Variants§
Active
The lock is within the stale threshold recorded by its owner.
Stale
The lock is older than the stale threshold recorded by its owner.
Invalid
The lock is unreadable, malformed, or future-dated.
Implementations§
Trait Implementations§
Source§impl Clone for CacheRefreshLockStatus
impl Clone for CacheRefreshLockStatus
Source§fn clone(&self) -> CacheRefreshLockStatus
fn clone(&self) -> CacheRefreshLockStatus
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 CacheRefreshLockStatus
Source§impl Debug for CacheRefreshLockStatus
impl Debug for CacheRefreshLockStatus
impl Eq for CacheRefreshLockStatus
Source§impl PartialEq for CacheRefreshLockStatus
impl PartialEq for CacheRefreshLockStatus
Source§impl Serialize for CacheRefreshLockStatus
impl Serialize for CacheRefreshLockStatus
impl StructuralPartialEq for CacheRefreshLockStatus
Auto Trait Implementations§
impl Freeze for CacheRefreshLockStatus
impl RefUnwindSafe for CacheRefreshLockStatus
impl Send for CacheRefreshLockStatus
impl Sync for CacheRefreshLockStatus
impl Unpin for CacheRefreshLockStatus
impl UnsafeUnpin for CacheRefreshLockStatus
impl UnwindSafe for CacheRefreshLockStatus
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