pub trait Emit {
// Provided method
fn emit(
&self,
items: &Items,
destination: &mut dyn Write,
format: OutputFormat,
) -> Result<(), Error> { ... }
}
Expand description
Anything that can write itself in the given output format to the given destination.