torrust_tracker/console/clients/checker/
printer.rs1pub const CLEAR_SCREEN: &str = "\x1B[2J\x1B[1;1H";
2
3pub trait Printer {
4 fn clear(&self);
5 fn print(&self, output: &str);
6 fn eprint(&self, output: &str);
7 fn println(&self, output: &str);
8 fn eprintln(&self, output: &str);
9}