pub struct Dag { /* private fields */ }Implementations§
Source§impl Dag
impl Dag
Sourcepub fn builder() -> DagBuilder
pub fn builder() -> DagBuilder
Returns a new DAG builder.
Sourcepub async fn run(&self, ctx: DagContext) -> Result<DagContext>
pub async fn run(&self, ctx: DagContext) -> Result<DagContext>
Executes the DAG.
Nodes in the same topological level run in parallel. Branch conditions are evaluated after each level to determine which successors are activated for subsequent levels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dag
impl !RefUnwindSafe for Dag
impl Send for Dag
impl Sync for Dag
impl Unpin for Dag
impl UnsafeUnpin for Dag
impl !UnwindSafe for Dag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more