pub enum CacheEventOrigin {
LocalApi,
Loader,
SingleFlight,
Backend,
DistributedBus,
}Expand description
Origin of a cache event.
Variants§
LocalApi
Event was caused by a direct local API call.
Loader
Event was caused by a loader owner.
SingleFlight
Event was caused by single-flight coordination.
Backend
Event was caused by backend expiration or eviction.
DistributedBus
Event was received from a future distributed bus.
Trait Implementations§
Source§impl Clone for CacheEventOrigin
impl Clone for CacheEventOrigin
Source§fn clone(&self) -> CacheEventOrigin
fn clone(&self) -> CacheEventOrigin
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 CacheEventOrigin
Source§impl Debug for CacheEventOrigin
impl Debug for CacheEventOrigin
impl Eq for CacheEventOrigin
Source§impl Hash for CacheEventOrigin
impl Hash for CacheEventOrigin
Source§impl PartialEq for CacheEventOrigin
impl PartialEq for CacheEventOrigin
Source§fn eq(&self, other: &CacheEventOrigin) -> bool
fn eq(&self, other: &CacheEventOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CacheEventOrigin
Auto Trait Implementations§
impl Freeze for CacheEventOrigin
impl RefUnwindSafe for CacheEventOrigin
impl Send for CacheEventOrigin
impl Sync for CacheEventOrigin
impl Unpin for CacheEventOrigin
impl UnsafeUnpin for CacheEventOrigin
impl UnwindSafe for CacheEventOrigin
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