pub struct EstimateInterval {
pub lower_nanos: i64,
pub upper_nanos: i64,
}Expand description
A bound on a remote node’s current time: it lies somewhere in [lower_nanos, upper_nanos]. The
width is the irreducible uncertainty — across a light-delay you can never pin a remote clock
tighter than the physics allows. The intersect of two valid bounds is a lattice meet (it never
widens), which is what makes a SyncClock conflict-free.
Fields§
§lower_nanos: i64§upper_nanos: i64Implementations§
Source§impl EstimateInterval
impl EstimateInterval
Trait Implementations§
Source§impl Clone for EstimateInterval
impl Clone for EstimateInterval
Source§fn clone(&self) -> EstimateInterval
fn clone(&self) -> EstimateInterval
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EstimateInterval
impl Debug for EstimateInterval
Source§impl PartialEq for EstimateInterval
impl PartialEq for EstimateInterval
Source§fn eq(&self, other: &EstimateInterval) -> bool
fn eq(&self, other: &EstimateInterval) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EstimateInterval
impl Eq for EstimateInterval
impl StructuralPartialEq for EstimateInterval
Auto Trait Implementations§
impl Freeze for EstimateInterval
impl RefUnwindSafe for EstimateInterval
impl Send for EstimateInterval
impl Sync for EstimateInterval
impl Unpin for EstimateInterval
impl UnsafeUnpin for EstimateInterval
impl UnwindSafe for EstimateInterval
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more