pub struct WaitQueue { /* private fields */ }
Wait queue for blocking threads
Create a new wait queue
Add current thread to wait queue
Wake up one thread
Wake up all threads
Check if queue is empty
alloc
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.
[From]<T> for U