pub trait TimeoutInstance { // Required methods fn timeout(&mut self) -> bool; fn restart(&mut self); fn interval(&self); }