Skip to main content

CliOutput

Trait CliOutput 

Source
pub trait CliOutput: Serialize {
    // Provided methods
    fn print(&self, format: OutputFormat) -> Result<()> { ... }
    fn print_table(&self) -> Result<()> { ... }
}

Provided Methods§

Source

fn print(&self, format: OutputFormat) -> Result<()>

Source

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.

Implementors§