Module tokio::runtime::task::core

source ยท
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.