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