Module clock

Source
Expand description

Clocks

Structs§

ManualClock
A Clock where the passage of time can be manually controlled.
ManualDelay
The future returned by ManualClock::sleep().
Nanoseconds
Number of nanoseconds since an arbitrary epoch.
StandardClock
The physical clock using std::time::Instant.

Traits§

BlockingClock
A BlockingClock is a Clock which supports synchronous sleeping.
Clock
A Clock controls the passing of time.