pub struct Stopwatch<F> { /* private fields */ }Expand description
Source that produces a message after a scheduled duration.
Does nothing until scheduled.
Implementations§
Auto Trait Implementations§
impl<F> !Freeze for Stopwatch<F>
impl<F> !RefUnwindSafe for Stopwatch<F>
impl<F> Send for Stopwatch<F>where
F: Send,
impl<F> Sync for Stopwatch<F>where
F: Sync,
impl<F> Unpin for Stopwatch<F>where
F: Unpin,
impl<F> !UnwindSafe for Stopwatch<F>
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