Skip to main content

MonoTime

Type Alias MonoTime 

Source
pub type MonoTime = Duration;
Expand description

Injected monotonic timestamp. The controller never reads a real clock; the caller passes a monotonically non-decreasing value (real code: Instant::now(); tests: a fake counter). Stored as nanoseconds since an arbitrary epoch so the type is trivially Copy and deterministic.

Aliased Typeยง

pub struct MonoTime { /* private fields */ }