pub trait Timer: Clock {
// Required methods
fn set_timeout(&mut self, relative: Duration) -> Result<(), Self::Error>;
fn clear_timeout(&mut self) -> Result<(), Self::Error>;
}
pub trait Timer: Clock {
// Required methods
fn set_timeout(&mut self, relative: Duration) -> Result<(), Self::Error>;
fn clear_timeout(&mut self) -> Result<(), Self::Error>;
}