Struct netidx_archive::MonotonicTimestamper [−][src]
pub struct MonotonicTimestamper { /* fields omitted */ }
Expand description
The goal of this structure are as follows in order of importance
- Monotonic. subsuquent calls to timestamp() will always be greater than previous calls.
- Steady. Clock skew should be minimized where possible.
- Accurate. Time stamps should be close to the actual time
- Precise. Small differences in time should be representable.
- Compact. Time stamps should use as little space as possible.
Unfortunatly because system provided time functions are often awful some careful and elaborate logic is required in order to meet the above goals.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MonotonicTimestamper
impl Send for MonotonicTimestamper
impl Sync for MonotonicTimestamper
impl Unpin for MonotonicTimestamper
impl UnwindSafe for MonotonicTimestamper
Blanket Implementations
Mutably borrows from an owned value. Read more