pub trait TimeManagementTechnique: Debug { // Required method fn switch(&mut self, state: &Option<State>, time_spent: Duration) -> State; }