Expand description
The UTC clock: an anchor pair mapping the caller’s monotonic microseconds to UTC, with a trust-ordered replacement rule.
docs/dash-runtime/DESIGN.md 3.2/3.3. Pure: the clock never reads a time
source, it only maps instants it is given.
Structs§
- Anchor
- One anchor: at monotonic
mono_usUTC wasutc_us. - Offer
Policy - Parameters of the replacement rule.
- UtcClock
- The clock: at most one anchor.
Enums§
- Adopt
Reason - Why an offered sample replaced the anchor.
- Clock
Source - Where an anchor came from, ordered by trust (lowest first).
- Offer
Outcome - The result of
UtcClock::offer. - Reject
Reason - Why an offered sample was not adopted.