Expand description
Injectable clock abstraction for session expiry.
Production code uses SystemClock, a zero-cost wrapper around
Utc::now. Tests can inject a fake clock to
deterministically exercise expiry boundaries instead of rewinding
PendingGeneration::expires_at
after construction.
Structs§
- System
Clock - Real-time
Clockbacked byUtc::now.
Traits§
- Clock
- Provides the current time for session expiry calculations.