Files
himalaya/cli/src/msg/envelopes.rs
T
Clément DOUIN 8f667def0c move envelopes and flags to lib
refactor maildir envelopes/flags

refactor notmuch envelopes
2022-06-05 13:55:40 +02:00

17 lines
386 B
Rust

use anyhow::Result;
use himalaya_lib::msg::Envelopes;
use crate::{
output::{PrintTable, PrintTableOpts, WriteColor},
ui::Table,
};
impl PrintTable for Envelopes {
fn print_table(&self, writer: &mut dyn WriteColor, opts: PrintTableOpts) -> Result<()> {
writeln!(writer)?;
Table::print(writer, self, opts)?;
writeln!(writer)?;
Ok(())
}
}