Expand description
Clock adapter trait and implementations.
Structs§
- Fake
Clock - Deterministic test clock: always returns the fixed
SystemTimeit was constructed with. - OsClock
- Real clock: delegates to
SystemTime::now.
Traits§
- Clock
- Abstraction over wall-clock time.