himalaya 0.7.0

Command-line interface for email management.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use anyhow::Result;
use himalaya_lib::folder::Folders;

use crate::{
    printer::{PrintTable, PrintTableOpts, WriteColor},
    ui::Table,
};

impl PrintTable for Folders {
    fn print_table(&self, writer: &mut dyn WriteColor, opts: PrintTableOpts) -> Result<()> {
        writeln!(writer)?;
        Table::print(writer, self, opts)?;
        writeln!(writer)?;
        Ok(())
    }
}