Skip to main content

Module clock

Module clock 

Source
Expand description

The one clock port and tokio’s clock.

Structs§

SystemClock
The control plane’s name for TokioClock, kept so control::SystemClock::new() and SystemClock::default() still resolve. The production clock: tokio’s monotonic clock and the system’s wall clock.
TokioClock
The production clock: tokio’s monotonic clock and the system’s wall clock.

Traits§

Clock
Time, injectable so a wait or a refresh boundary is a test rather than a wait.