pub struct NoWait;
Expand description
A sleep that doesn’t ever wait. This is its own type, that is Info<Timeout>
and can be used
anywhere a timeout is needed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoWait
impl RefUnwindSafe for NoWait
impl Send for NoWait
impl Sync for NoWait
impl Unpin for NoWait
impl UnwindSafe for NoWait
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