Expand description
Time source abstraction for testability.
This module provides a TimeSource trait that abstracts time-related operations,
allowing production code to use real system time while tests can use a controllable
mock implementation for fast, deterministic testing.
See docs/internal/TIMESOURCE_DESIGN.md for the full design document.
Structs§
- Real
Time Source - Production implementation using actual system time.
- Test
Time Source - Test implementation with controllable time.
Traits§
- Time
Source - Abstraction over time-related operations.
Type Aliases§
- Shared
Time Source - Type alias for shared time source.