pub trait StatusFactory<S: Status>: Send + Sync {
// Required methods
fn group(&self) -> S;
fn success(&self) -> S;
fn failure(&self) -> S;
}Expand description
A trait that is responsible for creating statuses.
This trait can be implemented to customize the statuses used in the console output.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".