pub trait CliOutput: Serialize {
// Provided methods
fn print(&self, format: OutputFormat) -> Result<()> { ... }
fn print_table(&self) -> Result<()> { ... }
}Provided Methods§
fn print(&self, format: OutputFormat) -> Result<()>
fn print_table(&self) -> Result<()>
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.