Expand description
Task definitions and storage traits. Handles both static function pointers and dynamic closures.
Structs§
- Task
- A task in the DAG.
Enums§
- Task
Body - The body of a task.
In
no_stdwithoutalloc, onlyfn()pointers are supported. Withalloc,Box<dyn Fn() -> Result<()>>is supported for closures. Withasync,Box<dyn Fn() -> Pin<Box<dyn Future>>>is supported for async tasks. - Task
Status - Status of a task in the graph.
Traits§
- Task
Store - Interface for task storage backends.