Available on crate feature
rt only.Expand description
Extra utilities for spawning tasks
This module is only available when the rt feature is enabled. Note that enabling the
join-map feature will automatically also enable the rt feature.
Modules§
- task_
tracker - Types related to the
TaskTrackercollection.
Structs§
- Abort
OnDrop Handle - A wrapper around a
tokio::task::JoinHandle, which aborts the task when it is dropped. - JoinMap
join-map - A collection of tasks spawned on a Tokio runtime, associated with hash map keys.
- Join
MapKeys join-map - An iterator over the keys of a
JoinMap. - Join
Queue - A FIFO queue for of tasks spawned on a Tokio runtime.
- Local
Pool Handle - A cloneable handle to a local pool, used for spawning
!Sendtasks. - Task
Tracker - A task tracker used for waiting until tasks exit.