pub enum CacheEventType {
Hit,
Miss,
StaleHit,
Store,
Invalidate,
TagInvalidate,
TierPromote,
AdminAccess,
}Expand description
Types of cache events that can be logged.
Variants§
Hit
Cache lookup hit (fresh entry)
Miss
Cache lookup miss
StaleHit
Stale entry served
Store
Cache entry stored
Invalidate
Cache entry invalidated
TagInvalidate
Tag-based invalidation
TierPromote
Multi-tier cache promotion
AdminAccess
Admin API access
Trait Implementations§
Source§impl Clone for CacheEventType
impl Clone for CacheEventType
Source§fn clone(&self) -> CacheEventType
fn clone(&self) -> CacheEventType
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 moreSource§impl Debug for CacheEventType
impl Debug for CacheEventType
Source§impl<'de> Deserialize<'de> for CacheEventType
impl<'de> Deserialize<'de> for CacheEventType
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
Auto Trait Implementations§
impl Freeze for CacheEventType
impl RefUnwindSafe for CacheEventType
impl Send for CacheEventType
impl Sync for CacheEventType
impl Unpin for CacheEventType
impl UnwindSafe for CacheEventType
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