// pub trait Printer { fn println(&self, message: impl Into); } pub struct StandardPrinter; impl Printer for StandardPrinter { #[cfg(not(tarpaulin_include))] fn println(&self, message: impl Into) { println!("{}", message.into()); } }