usestd::{error::Error,fmt::Display};usesuper::output::Output;/// Implements a printing output sink for bitgrep
pubtraitPrinter<T>
where
T: Display,
{/// Feed a result to print
fnfeed(&mutself, output:Output<T>)->Result<(), Box<dyn Error>>;/// Call when ending all processing, this allows
/// printers to print a footer or flush buffered output.
fnend(&mutself)->Result<(), Box<dyn Error>>;}