Expand description
Task spawning support.
Structs§
- Scheduler
- A task scheduler for a
TaskQueue
. - Task
Data - Information about a task.
- Task
List - A list of tasks.
- Task
Metadata - Metadata about a spawned task.
- Task
Queue - A queue of tasks that will be run on a single thread.
Enums§
- Task
State - The state of a task.
Traits§
- Schedule
- Trait for scheduling a task on an executor.
- Spawn
- Trait for spawning a task on an executor.
- Spawn
Local - Trait for spawning a non-
Send
task on an executor.
Functions§
- task_
queue - Creates a new task queue and associated scheduler.
- with_
current_ task_ metadata - Calls
f
with the current task metadata, if there is a current task.