pub struct IdlePark { /* private fields */ }Expand description
Returned by park_while_idle; ends the park when dropped.
Trait Implementations§
Auto Trait Implementations§
impl !Send for IdlePark
impl !Sync for IdlePark
impl Freeze for IdlePark
impl RefUnwindSafe for IdlePark
impl Unpin for IdlePark
impl UnsafeUnpin for IdlePark
impl UnwindSafe for IdlePark
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