pub trait CliError: Display + Sized {
// Provided methods
fn color(self) -> Self { ... }
fn code(&self) -> i32 { ... }
fn print(self) -> Result<()> { ... }
}Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.