pub struct MutexWaiter<P: Priority> { /* private fields */ }Expand description
Opaque waiter type used for PriorityQueue entries.
This implements Priority and is the entry type used by Mutex.
Trait Implementations§
Source§impl<P: Priority> Priority for MutexWaiter<P>
Has the same Priority impl as P with the exception of pinning holding entry to head.
impl<P: Priority> Priority for MutexWaiter<P>
Has the same Priority impl as P with the exception of pinning holding entry to head.
Auto Trait Implementations§
impl<P> !Freeze for MutexWaiter<P>
impl<P> RefUnwindSafe for MutexWaiter<P>where
P: RefUnwindSafe,
impl<P> Send for MutexWaiter<P>where
P: Send,
impl<P> Sync for MutexWaiter<P>where
P: Sync,
impl<P> Unpin for MutexWaiter<P>where
P: Unpin,
impl<P> UnsafeUnpin for MutexWaiter<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for MutexWaiter<P>where
P: UnwindSafe,
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