ConsoleTable

Trait ConsoleTable 

Source
pub trait ConsoleTable {
    // Required methods
    fn table(&self) -> Output;
    fn echo_table(&self) -> Result<(), Error>;
}
Expand description

Trait for console table output responses.

Required Methods§

Source

fn table(&self) -> Output

Get the table as an output response.

Source

fn echo_table(&self) -> Result<(), Error>

Print the table to console.

Implementors§