pub enum DriftObservation {
Folded,
Rejected,
Restarted,
}Expand description
What DriftClock::observe did with a sample.
Variants§
Folded
Folded into the fit.
Rejected
Further from the current fit than the outlier gate: dropped, the fit is unchanged.
Restarted
MAX_CONSECUTIVE_REJECTS
rejections in a row, so the timeline really moved: the window was
cleared and this sample is the first of the new one.
Trait Implementations§
Source§impl Clone for DriftObservation
impl Clone for DriftObservation
Source§fn clone(&self) -> DriftObservation
fn clone(&self) -> DriftObservation
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 moreimpl Copy for DriftObservation
Source§impl Debug for DriftObservation
impl Debug for DriftObservation
impl Eq for DriftObservation
Source§impl PartialEq for DriftObservation
impl PartialEq for DriftObservation
impl StructuralPartialEq for DriftObservation
Auto Trait Implementations§
impl Freeze for DriftObservation
impl RefUnwindSafe for DriftObservation
impl Send for DriftObservation
impl Sync for DriftObservation
impl Unpin for DriftObservation
impl UnsafeUnpin for DriftObservation
impl UnwindSafe for DriftObservation
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