Module tokio::runtime::task::list

source ยท
Expand description

This module has containers for storing the tasks spawned on a scheduler. The OwnedTasks container is thread-safe but can only store tasks that implement Send. The LocalOwnedTasks container is not thread safe, but can store non-Send tasks.

The collections can be closed to prevent adding new tasks during shutdown of the scheduler with the collection.

Structsยง

Staticsยง

Functionsยง

Type Aliasesยง