pub trait RenderTable {
    // Required methods
    fn render(
        &self,
        output_format: &OutputFormatArgs,
    ) -> Result<String, RenderTableError>;
    fn do_print_table_and_exit(&self, output_format: &OutputFormatArgs) -> !;
    fn print_table_and_exit(
        &self,
        output_format: &OutputFormatArgsOptional,
    ) -> !;
}

Required Methods§

Source

fn render( &self, output_format: &OutputFormatArgs, ) -> Result<String, RenderTableError>

Source

fn do_print_table_and_exit(&self, output_format: &OutputFormatArgs) -> !

Source

fn print_table_and_exit(&self, output_format: &OutputFormatArgsOptional) -> !

Implementations on Foreign Types§

Source§

impl<T: Tabled + Serialize> RenderTable for Vec<T>

Implementors§