pub struct ParkScope { /* private fields */ }Expand description
Held by dispatch::pre_push around its gate loop. While it lives, a slot
a heavy gate held is handed to the next heavy gate instead of released;
when the outermost one drops, on any exit, the parked slot is released.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ParkScope
impl Freeze for ParkScope
impl RefUnwindSafe for ParkScope
impl Send for ParkScope
impl Sync for ParkScope
impl Unpin for ParkScope
impl UnsafeUnpin for ParkScope
impl UnwindSafe for ParkScope
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