pub trait BuildReporter: Send + Sync {
// Required methods
fn step_started(&self, step: BuildStep<'_>);
fn step_succeeded(&self, step: BuildStep<'_>);
fn step_failed(&self, step: BuildStep<'_>);
fn command_output(&self, output: &str);
}Expand description
Receives progress events and streamed child-process output.
Required Methods§
Sourcefn step_started(&self, step: BuildStep<'_>)
fn step_started(&self, step: BuildStep<'_>)
A step is about to run.
Sourcefn step_succeeded(&self, step: BuildStep<'_>)
fn step_succeeded(&self, step: BuildStep<'_>)
A step completed successfully.
Sourcefn step_failed(&self, step: BuildStep<'_>)
fn step_failed(&self, step: BuildStep<'_>)
A step failed.
Sourcefn command_output(&self, output: &str)
fn command_output(&self, output: &str)
Output emitted by a subprocess belonging to the current step.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".