pub trait ShellExt {
// Required methods
fn status<T, U>(&self, status: T, message: U)
where T: Display,
U: Display;
fn status_with_color<T, U>(&self, status: T, message: U, color: &Style)
where T: Display,
U: Display;
fn note<T: Display>(&self, message: T);
fn warn<T: Display>(&self, message: T);
fn error<T: Display>(&self, message: T);
}Required Methods§
fn status<T, U>(&self, status: T, message: U)
fn status_with_color<T, U>(&self, status: T, message: U, color: &Style)
fn note<T: Display>(&self, message: T)
fn warn<T: Display>(&self, message: T)
fn error<T: Display>(&self, message: T)
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.