pub trait Clock: Send + Sync { // Required methods fn now_utc(&self) -> DateTime<Utc>; fn mono_ns(&self) -> u64; }
Injected clock — ensures deterministic replay by avoiding Utc::now().
Utc::now()
Current UTC wall-clock time.
Monotonic nanosecond counter (relative to run start).