[−][src]Trait os_clock::Clock
Required methods
fn get_time(&self) -> Result<Duration>
Get the current time value of the clock.
Note that the meaning of the Duration
differs depending on implementation.
Sometimes the clock represents CPU time, sometimes wall time, etc.
Provided methods
fn start_timer<'s>(&'s self) -> Result<Timer<'s, Self>>
Start a timer at the current time