mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 05:07:55 +08:00
8f667def0c
refactor maildir envelopes/flags refactor notmuch envelopes
17 lines
386 B
Rust
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(())
|
|
}
|
|
}
|