pub(crate) enum Lock {
Wait,
Signal(MutexGuard<'static, ()>),
}Expand description
A lock on the reaper.
Variants§
Wait
The wait-based reaper needs no lock.
Signal(MutexGuard<'static, ()>)
The lock for the signal-based reaper.
Auto Trait Implementations§
impl !RefUnwindSafe for Lock
impl !UnwindSafe for Lock
impl Freeze for Lock
impl Send for Lock
impl Sync for Lock
impl Unpin for Lock
impl UnsafeUnpin for Lock
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