pub struct IntersectionResult {
pub truechimers: Vec<usize>,
pub falsetickers: Vec<usize>,
pub low: NtpDuration,
pub high: NtpDuration,
}Expand description
Result of Marzullo’s intersection algorithm.
Fields§
§truechimers: Vec<usize>Indices of sources whose intervals overlap the intersection (truechimers).
falsetickers: Vec<usize>Indices of sources whose intervals do not overlap (falsetickers).
low: NtpDurationLower bound of the final intersection interval.
high: NtpDurationUpper bound of the final intersection interval.
Trait Implementations§
Source§impl Clone for IntersectionResult
impl Clone for IntersectionResult
Source§fn clone(&self) -> IntersectionResult
fn clone(&self) -> IntersectionResult
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 moreAuto Trait Implementations§
impl Freeze for IntersectionResult
impl RefUnwindSafe for IntersectionResult
impl Send for IntersectionResult
impl Sync for IntersectionResult
impl Unpin for IntersectionResult
impl UnsafeUnpin for IntersectionResult
impl UnwindSafe for IntersectionResult
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