pub enum CacheLookup {
Hit(TenantContext),
NegativeHit,
Miss,
Stale(TenantContext),
}Expand description
Result of a cache lookup.
Variants§
Hit(TenantContext)
Found valid entry.
NegativeHit
Found negative entry (tenant doesn’t exist).
Miss
Entry not found or expired.
Stale(TenantContext)
Entry found but should be refreshed.
Trait Implementations§
Source§impl Clone for CacheLookup
impl Clone for CacheLookup
Source§fn clone(&self) -> CacheLookup
fn clone(&self) -> CacheLookup
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 moreAuto Trait Implementations§
impl Freeze for CacheLookup
impl !RefUnwindSafe for CacheLookup
impl Send for CacheLookup
impl Sync for CacheLookup
impl Unpin for CacheLookup
impl !UnwindSafe for CacheLookup
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