pub struct SelectionResult {
pub system_offset: NtpDuration,
pub truechimers: Vec<SourceId>,
pub falsetickers: Vec<SourceId>,
pub system_peer: Option<SourceId>,
pub system_jitter: f64,
}Expand description
Result of the full source selection pipeline.
Fields§
§system_offset: NtpDurationWeighted-average system offset from truechimers.
truechimers: Vec<SourceId>Source IDs classified as truechimers.
falsetickers: Vec<SourceId>Source IDs classified as falsetickers.
system_peer: Option<SourceId>System peer: the truechimer with the lowest root distance.
system_jitter: f64System jitter: RMS of truechimer offset residuals from the weighted mean.
Trait Implementations§
Source§impl Clone for SelectionResult
impl Clone for SelectionResult
Source§fn clone(&self) -> SelectionResult
fn clone(&self) -> SelectionResult
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 SelectionResult
impl RefUnwindSafe for SelectionResult
impl Send for SelectionResult
impl Sync for SelectionResult
impl Unpin for SelectionResult
impl UnsafeUnpin for SelectionResult
impl UnwindSafe for SelectionResult
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