"Tbh, do we need more than..." <- > <@diondokter:matrix.org> Tbh, do we need more than something like this? > > ```rust > trait Timer { > /// Starts or restarts the timer at 0 > fn start(&mut self); > > fn elapsed_micros(&mut self) -> Result; // Or u64? > fn elapsed_millis(&mut self) -> Result; > fn elapsed_secs(&mut self) -> Result; > } > > enum Error { > TimerOverflowed, > // ??? > } > ``` > > (Probably better generic error, but you get the point) I gotta say I'm warming up to this