[−][src]Trait sched_clock::clocks::Clock
Common interface shared by all Clocks provided by this library
Required methods
fn now(&self) -> Instant
Get an Instant representing the current time
Instants should be above Instant::EPOCH
and monotonically increasing,
but low-quality clocks may slow down and speed up slightly as they try
to synchronize themselves with other clocks. Good timestamp clocks will
prevent this and always deliver 100% steady time.