pub struct OneShot;
Expand description
Timer will stop when it expires
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OneShot
impl RefUnwindSafe for OneShot
impl Send for OneShot
impl Sync for OneShot
impl Unpin for OneShot
impl UnwindSafe for OneShot
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