Expand description
Provide structs for measuring time.
Structs§
- Manual
Clock - A time provider that can be mocked to advance time.
- Stopwatch
- Measure elapsed time.
- System
Clock - A time provider that uses the system’s clock.
- Timer
- A timer that can be used to measure the elapsed time and check if timeout has occurred.
Traits§
- Clock
- A trait for providing the current time.