Module task
Tools for working with tasks.
This module contains:
Spawn, a trait for spawning new tasks.Context, a context of an asynchronous task, including a handle for waking up the task.Waker, a handle for waking up a task.
The remaining types and traits in the module are used for implementing executors or dealing with synchronization issues around task wakeup.
Structs
Enums
Traits
- ArcWake
- LocalSpawn
-
LocalSpawnExt
Extension trait for
LocalSpawn. - Spawn
-
SpawnExt
Extension trait for
Spawn. - UnsafeFutureObj