pub struct ParkThread(/* private fields */);Expand description
ParkThread implements Park by suspending the local thread until interrupted.
Only available with the park-thread feature for fumio-utils (enabled by default).
Implementations§
Source§impl ParkThread
impl ParkThread
Trait Implementations§
Source§impl Debug for ParkThread
impl Debug for ParkThread
Source§impl Default for ParkThread
impl Default for ParkThread
Auto Trait Implementations§
impl Freeze for ParkThread
impl RefUnwindSafe for ParkThread
impl Send for ParkThread
impl Sync for ParkThread
impl Unpin for ParkThread
impl UnwindSafe for ParkThread
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