pub struct Cached<'a, C: Clock + ?Sized> { /* private fields */ }Expand description
A clock that caches the time query for the inner clock
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> !Freeze for Cached<'a, C>
impl<'a, C> !RefUnwindSafe for Cached<'a, C>
impl<'a, C> Send for Cached<'a, C>
impl<'a, C> !Sync for Cached<'a, C>
impl<'a, C> Unpin for Cached<'a, C>where
C: ?Sized,
impl<'a, C> UnwindSafe for Cached<'a, C>where
C: RefUnwindSafe + ?Sized,
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