Skip to main content

Module clock

Module clock 

Source
Expand description

Time abstraction. Drivers take a Clock so that timing logic is testable from no_std targets without pulling in a runtime.

Structs§

MockClock
Manually-driven Clock for tests.
SystemClock
Clock that returns the system monotonic time. Available with std.

Traits§

Clock
Minimal monotonic clock.