struct Guard<'a> {
    queue: &'a AtomicPtr<Waiter>,
    new_queue: *mut Waiter,
}Expand description
Drains and notifies the queue of waiters on drop.
Fields§
§queue: &'a AtomicPtr<Waiter>§new_queue: *mut WaiterTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Guard<'a>
impl<'a> !RefUnwindSafe for Guard<'a>
impl<'a> !Send for Guard<'a>
impl<'a> !Sync for Guard<'a>
impl<'a> Unpin for Guard<'a>
impl<'a> !UnwindSafe for Guard<'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