pub trait TimeoutState { // Required methods fn timeout(&mut self) -> bool; fn restart(&mut self); }
Check if the time limit expires.
Reset the timeout condition.