struct Waiter {
queued: AtomicBool,
waker: Option<Waker>,
pointers: Pointers<Waiter>,
_p: PhantomPinned,
}
Expand description
An entry in the wait queue.
Fields§
§queued: AtomicBool
True if queued.
waker: Option<Waker>
Task waiting on the broadcast channel.
pointers: Pointers<Waiter>
Intrusive linked-list pointers.
_p: PhantomPinned
Should not be Unpin
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Waiter
impl !RefUnwindSafe for Waiter
impl Send for Waiter
impl Sync for Waiter
impl !Unpin for Waiter
impl !UnwindSafe for Waiter
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