pub trait Clock: Sync { // Required method fn now(&self) -> u64; }
A monotonic source of time.
Clocks must always returning increasing timestamps.
Returns a timestamp in milliseconds which represents the current time according to the clock.
Clocks must only return timestamps that are bigger or equal than what they returned on the last call to now().
now()