struct WaitOnDrop<'a>(&'a Latch);Expand description
Waits for the pool’s jobs even if the caller’s own job panics, so no job outlives the borrows it was given.
Tuple Fields§
§0: &'a LatchTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for WaitOnDrop<'a>
impl<'a> RefUnwindSafe for WaitOnDrop<'a>
impl<'a> Send for WaitOnDrop<'a>
impl<'a> Sync for WaitOnDrop<'a>
impl<'a> Unpin for WaitOnDrop<'a>
impl<'a> UnsafeUnpin for WaitOnDrop<'a>
impl<'a> UnwindSafe for WaitOnDrop<'a>
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