pub struct WaitQueueWakeToken { /* private fields */ }Expand description
An exact wake capability for one externally registered task waiter.
Composite wait sources use this token to place task waiters and non-task callbacks in one externally ordered exclusive queue. The token contains no general thread handle and is valid only for its park generation.
Implementations§
Source§impl WaitQueueWakeToken
impl WaitQueueWakeToken
Sourcepub fn notify(&self) -> WaitQueueWakeOutcome
pub fn notify(&self) -> WaitQueueWakeOutcome
Selects one exact registered waiter with ordinary task-context intent.
Sourcepub fn notify_sync(&self) -> WaitQueueWakeOutcome
pub fn notify_sync(&self) -> WaitQueueWakeOutcome
Selects one exact registered waiter with Linux WF_SYNC intent.
Trait Implementations§
Source§impl Clone for WaitQueueWakeToken
impl Clone for WaitQueueWakeToken
Source§fn clone(&self) -> WaitQueueWakeToken
fn clone(&self) -> WaitQueueWakeToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for WaitQueueWakeToken
impl !UnwindSafe for WaitQueueWakeToken
impl Freeze for WaitQueueWakeToken
impl Send for WaitQueueWakeToken
impl Sync for WaitQueueWakeToken
impl Unpin for WaitQueueWakeToken
impl UnsafeUnpin for WaitQueueWakeToken
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