pub struct WorkflowRuntimeBuilder { /* private fields */ }Expand description
Builder for one immutable runtime plan.
Implementations§
Source§impl WorkflowRuntimeBuilder
impl WorkflowRuntimeBuilder
Sourcepub fn phases<I>(self, phases: I) -> Selfwhere
I: IntoIterator<Item = Phase>,
pub fn phases<I>(self, phases: I) -> Selfwhere
I: IntoIterator<Item = Phase>,
Adds phases in deterministic declaration order.
Sourcepub fn satisfied_phase_verifier<F>(self, verifier: F) -> Self
pub fn satisfied_phase_verifier<F>(self, verifier: F) -> Self
Supplies application verification for an omitted completed dependency.
Suppresses display while preserving scheduling and lifecycle checks.
Sourcepub fn build(self) -> Result<WorkflowRuntime, RuntimeError>
pub fn build(self) -> Result<WorkflowRuntime, RuntimeError>
Validates the complete phase/task/dependency plan.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WorkflowRuntimeBuilder
impl !Sync for WorkflowRuntimeBuilder
impl !UnwindSafe for WorkflowRuntimeBuilder
impl Freeze for WorkflowRuntimeBuilder
impl Send for WorkflowRuntimeBuilder
impl Unpin for WorkflowRuntimeBuilder
impl UnsafeUnpin for WorkflowRuntimeBuilder
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