pub struct WorkflowDryRun;Expand description
Dry-run simulator for crate::workflow::Workflow.
Analyses a workflow statically — no tasks are executed.
Implementations§
Source§impl WorkflowDryRun
impl WorkflowDryRun
Sourcepub fn simulate(workflow: &Workflow) -> SimulationReport
pub fn simulate(workflow: &Workflow) -> SimulationReport
Simulate a workflow and return a SimulationReport.
Analyses:
step_count: number of tasks in the workflow.estimated_duration_ms: sum of per-task duration estimates.dependencies: textual descriptions of everyTask::dependenciesrelationship.warnings: issues detected (empty workflow, missing task refs, etc.).
Auto Trait Implementations§
impl Freeze for WorkflowDryRun
impl RefUnwindSafe for WorkflowDryRun
impl Send for WorkflowDryRun
impl Sync for WorkflowDryRun
impl Unpin for WorkflowDryRun
impl UnsafeUnpin for WorkflowDryRun
impl UnwindSafe for WorkflowDryRun
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