pub struct AtomicWaker { /* private fields */ }Expand description
A waker slot that one task registers into and any thread wakes, without a
lock (the algorithm of futures’ AtomicWaker).
Implementations§
Trait Implementations§
Source§impl Debug for AtomicWaker
impl Debug for AtomicWaker
Source§impl Default for AtomicWaker
impl Default for AtomicWaker
Source§fn default() -> AtomicWaker
fn default() -> AtomicWaker
Returns the “default value” for a type. Read more
impl Send for AtomicWaker
impl Sync for AtomicWaker
Auto Trait Implementations§
impl !Freeze for AtomicWaker
impl !RefUnwindSafe for AtomicWaker
impl Unpin for AtomicWaker
impl UnsafeUnpin for AtomicWaker
impl UnwindSafe for AtomicWaker
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