pub struct NoopTimer;
Expand description
A no-op timer (returned when StartTimer implementations want to return a concrete value).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoopTimer
impl RefUnwindSafe for NoopTimer
impl Send for NoopTimer
impl Sync for NoopTimer
impl Unpin for NoopTimer
impl UnwindSafe for NoopTimer
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