Expand description
Implementation of Hybrid Logical Clocks.
This is based on the paper “Logical Physical Clocks and Consistent
Snapshots in Globally Distributed Databases”. Provides a
strictly-monotonic clock that can be used to determine if one event
happens-before another.
Structs§
- Clock
- The main clock type.
- Manual
Clock - Offset
Limiter - A wrapper around
Clockthat will refuse updates outside of our tolerance. - Timestamp
- A value that represents a logical timestamp.
- WallMS
- WallMST
- Representation of our timestamp.
- WallNS
- A clock source that returns wall-clock in nanoseconds.
- WallNST
Enums§
Traits§
- Clock
Source - Describes the interface that the inner clock source must provide.