pub struct NoClock;Expand description
A clock that always reports u64::MAX. Entries stamped with this
value are never reaped by TTL expiry — the agent’s default behaviour.
Trait Implementations§
impl Copy for NoClock
Auto Trait Implementations§
impl Forget for NoClock
impl Freeze for NoClock
impl Move for NoClock
impl RefUnwindSafe for NoClock
impl Send for NoClock
impl Sync for NoClock
impl Unpin for NoClock
impl UnsafeUnpin for NoClock
impl UnwindSafe for NoClock
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