pub trait PackageOutput {
// Required methods
fn status(&self, line: &str);
fn status_dim(&self, line: &str);
fn success(&self, line: &str);
fn error(&self, line: &str);
}Expand description
Output sink for status/error lines. Implementations capture into a buffer
(tests) or write to stdout/stderr (production, via ProductOutput).
Required Methods§
Sourcefn status_dim(&self, line: &str)
fn status_dim(&self, line: &str)
Write a dimmed status line (stdout, chalk.dim).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".