pub struct Time<'a, R: Runtime> { /* private fields */ }Expand description
Time utilities accessor for RuntimeContext
Provides duration creation, sleep, and timing measurements.
Implementations§
Auto Trait Implementations§
impl<'a, R> Freeze for Time<'a, R>
impl<'a, R> RefUnwindSafe for Time<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for Time<'a, R>
impl<'a, R> Sync for Time<'a, R>
impl<'a, R> Unpin for Time<'a, R>
impl<'a, R> UnwindSafe for Time<'a, R>where
R: RefUnwindSafe,
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