Expand description
Core task module.
ยงSafety
The functions in this module are private to the task
module. All of them
should be considered unsafe
to use, but are not marked as such since it
would be too noisy.
Make sure to consult the relevant safety section of each function before use.
Structsยง
- Cell ๐The task cell. Contains the components of the task.
- Core ๐The core of the task.
- CoreStage ๐
- Header ๐Crate public as this is also needed by the pool.
- TaskIdGuard ๐Set and clear the task id in the context when the future is executed or dropped, or when the output produced by the future is dropped.
- Trailer ๐Cold data is stored after the future. Data is considered cold if it is only used during creation or shutdown of the task.
Enumsยง
- Stage ๐Either the future or the output.