Skip to main content

Module task

Module task 

Source
Expand description

Task definitions and storage traits. Handles both static function pointers and dynamic closures.

Structs§

Task
A task in the DAG.

Enums§

TaskBody
The body of a task. In no_std without alloc, only fn() pointers are supported. With alloc, Box<dyn Fn() -> Result<()>> is supported for closures. With async, Box<dyn Fn() -> Pin<Box<dyn Future>>> is supported for async tasks.
TaskStatus
Status of a task in the graph.

Traits§

TaskStore
Interface for task storage backends.