pub trait Debugger { // Required method fn display(&self) -> String; // Provided method fn debug(&self, message: &str) { ... } }
return the prefix used by the debug method
prints to the console while calling the relevant display function for prefixing