pub struct WaitThread { /* private fields */ }
Expand description
Thread that will wake an underlying Waker after parking for a duration. Or can be killed to never wake a Waker again.
Implementations§
Source§impl WaitThread
impl WaitThread
Trait Implementations§
Source§impl Default for WaitThread
impl Default for WaitThread
Auto Trait Implementations§
impl Freeze for WaitThread
impl !RefUnwindSafe for WaitThread
impl Send for WaitThread
impl Sync for WaitThread
impl Unpin for WaitThread
impl !UnwindSafe for WaitThread
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