Skip to main content

StepEvents

Trait StepEvents 

Source
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§

Source

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.

Source

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".

Implementors§