pub struct AccessResult(pub HitOrMiss, pub f64);Expand description
Result of a single access to the cache, including hit-miss state and access latency.
Tuple Fields§
§0: HitOrMiss§1: f64Auto Trait Implementations§
impl Freeze for AccessResult
impl RefUnwindSafe for AccessResult
impl Send for AccessResult
impl Sync for AccessResult
impl Unpin for AccessResult
impl UnwindSafe for AccessResult
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