pub trait Clock { // Required method fn now_ms(&self) -> u64; }
Minimal monotonic clock.
Implementations must be monotonic: now_ms() never goes backwards within a single instance.
now_ms()
Current time as milliseconds since an arbitrary epoch.
alloc
std