pub trait OutputFormat: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn extension(&self) -> &'static str;
fn write(
&self,
report: &Report,
options: &OutputOptions,
writer: &mut dyn Write,
) -> Result<()>;
}Expand description
Trait for output formatters.