pub struct CacheHitEvent {
pub key: u64,
pub source_name: Option<String>,
pub tier: CacheTier,
pub age: Duration,
}Expand description
Cache-hit notification.
Fields§
§key: u64§source_name: Option<String>§tier: CacheTier§age: DurationTrait Implementations§
Source§impl Clone for CacheHitEvent
impl Clone for CacheHitEvent
Source§fn clone(&self) -> CacheHitEvent
fn clone(&self) -> CacheHitEvent
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 CacheHitEvent
impl RefUnwindSafe for CacheHitEvent
impl Send for CacheHitEvent
impl Sync for CacheHitEvent
impl Unpin for CacheHitEvent
impl UnsafeUnpin for CacheHitEvent
impl UnwindSafe for CacheHitEvent
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