pub trait TaskLevel: Default { // Required methods fn success(&mut self); fn failure(&mut self); fn duration(&self) -> Duration; }