[−][src]Module futures::task
Tools for working with tasks.
This module contains:
The remaining types and traits in the module are used for implementing executors or dealing with synchronization issues around task wakeup.
Structs
AtomicWaker | A synchronization primitive for task wakeup. |
LocalWaker | [ Experimental ] A |
LocalWakerRef | A |
SpawnError | An error that occurred during spawning. |
Waker | [ Experimental ] A |
Enums
Poll | [ Experimental ] Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead. |
Traits
LocalSpawn | The |
LocalSpawnExt | Extension trait for |
Spawn | The |
SpawnExt | Extension trait for |
UnsafeWake | [ Experimental ] An unsafe trait for implementing custom memory management for a |
Wake | [ Experimental ] A way of waking up a specific task. |
Functions
local_waker⚠ | [ Experimental ] Creates a |
local_waker_from_nonlocal | [ Experimental ] Creates a |
local_waker_ref⚠ | Creates a reference to a |
local_waker_ref_from_nonlocal | Creates a reference to a |
noop_local_waker | Create a new |
noop_local_waker_ref | Get a thread local reference to a
|