Expand description
Utilities for messing with time
Types included allow messing with and mocking out clocks and other side-effect-laden time operations.
Structs§
- Duration
Secs - Duration denominated in whole seconds
- System
- The system clock as provided by
std::time::SystemTime
- Test
Clock - A test clock which maintains the current time as internal state
- Unix
Time - Unix time
Traits§
- Clock
- Represents a clock, which can tell the current time