Expand description
Types and Traits for working with asynchronous tasks.
Note: Some of the types in this module are only available
on platforms that support atomic loads and stores of pointers.
This may be detected at compile time using
#[cfg(target_has_atomic = "ptr")].
Re-exportsยง
use core::mem::ManuallyDrop;๐use core::task::Waker;๐use core::task::LocalWaker;๐Experimental use core::task::RawWaker;๐use core::task::RawWakerVTable;๐use crate::rc::Rc;๐use crate::sync::Arc;๐
Traitsยง
- Wake
- The implementation of waking a task on an executor.
- Local
Wake Experimental - An analogous trait to
Wakebut used to construct aLocalWaker.
Functionsยง
- local_
raw_ ๐waker - raw_
waker ๐ - local_
waker_ fn Experimental - Converts a closure into a
LocalWaker. - waker_
fn Experimental - Converts a closure into a
Waker.