pub type TaskGraph = Cons<Box<dyn TaskFactory + Send + Sync>>;Expand description
A node of the binary tree grammar that describes a task graph. Cons::Seq lists represent
sequential execution of tasks. Cons::Fork lists represent concurrent execution of tasks. The
leaves of the tree are Cons::Tasks.
Aliased Type§
pub enum TaskGraph {
Fork(Box<Cons<Box<dyn TaskFactory + Send + Sync>>>, Box<Cons<Box<dyn TaskFactory + Send + Sync>>>),
Seq(Box<Cons<Box<dyn TaskFactory + Send + Sync>>>, Box<Cons<Box<dyn TaskFactory + Send + Sync>>>),
Task(Box<dyn TaskFactory + Send + Sync>),
Nil,
}