pub trait StepEvents {
// Provided methods
fn step_started(&self, _decision: &StepDecision) { ... }
fn step_cached(
&self,
_decision: &StepDecision,
_result: &Result<StepOutcome, StepError>,
) { ... }
}Expand description
Follows the steps of a task run as they start or come from the cache, for the
live output of kizz run.
Provided Methods§
Sourcefn step_started(&self, _decision: &StepDecision)
fn step_started(&self, _decision: &StepDecision)
The step decision starts to run: its command has not started yet, so this
comes before any of its output.
Sourcefn step_cached(
&self,
_decision: &StepDecision,
_result: &Result<StepOutcome, StepError>,
)
fn step_cached( &self, _decision: &StepDecision, _result: &Result<StepOutcome, StepError>, )
The step decision came from the cache, or was returned again within the
build, and returns result: its stored exit status and output, or its stored
failure.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".