Expand description
Real-time and virtual Clock implementations.
Defines the Clock contract, the user-facing ClockApi facade, and the deterministic
VirtualClock used for controlled time advancement. Shared validation and callback registration
support virtual and live clock implementations.
Structs§
- Callback
Registry - Registry for timer event callbacks.
- Clock
Api - Provides a user-facing facade over clock operations.
- Virtual
Clock - A deterministic clock for controlled time advancement.
Traits§
- Clock
- Provides time access, timer scheduling, and callback registration.
Functions§
- validate_
and_ prepare_ time_ alert - Validates and normalizes parameters for a time alert.
- validate_
and_ prepare_ timer - Validates and normalizes parameters for an interval timer.