Expand description
Instance time: one monotonic clock per database instance (design 058 §3).
A Stamp is nanoseconds since the instance started (build()). Stamps
are scoped to one instance lifetime: comparing stamps across a restart, or
across two instances, is meaningless.
Structs§
- Stamp
- Nanoseconds since the instance started.
Traits§
- Instance
Clock - The instance’s clock, created once by
build()throughRuntimeOps::new_clock.
Functions§
- stamp_
from_ duration - Converts an elapsed time to a stamp, saturating at
u64::MAX. - stamp_
from_ millis_ f64 - Converts elapsed milliseconds as
f64(e.g.performance.now()differences) to a stamp, clamped to0..=u64::MAX;NaNmaps to zero.