Skip to main content

Module clock

Module clock 

Source
Expand description

The runtime’s only source of elapsed time (spec 003, 3.3.1): a monotonic millisecond counter. Domain evaluation time is never read here; the caller supplies it with each decision.

Structs§

ManualClock
A clock that moves only when a test advances it.
TokioClock
Tokio’s monotonic clock.

Traits§

Clock

Type Aliases§

Instant
Monotonic milliseconds since the clock’s origin.