pub trait StepExecutor {
// Required method
fn execute(&self, step: &StepSpec) -> Result<StepOutcome, StepError>;
}Expand description
Runs the steps of a task program.
The runtime calls StepExecutor::execute once for each run() call, in
program order, and returns the outcome to the program.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".