pub enum SwitchReason {
LowerError,
InsufficientData,
Tie,
}Expand description
Why the active best entry changed (or could not be determined).
Variants§
LowerError
The new best entry has a strictly lower error than the previous best.
InsufficientData
Not enough data has been observed to compare entries.
Tie
The new best entry ties with the previous best on error.
Trait Implementations§
Source§impl Clone for SwitchReason
impl Clone for SwitchReason
Source§fn clone(&self) -> SwitchReason
fn clone(&self) -> SwitchReason
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 SwitchReason
Source§impl Debug for SwitchReason
impl Debug for SwitchReason
impl Eq for SwitchReason
Source§impl PartialEq for SwitchReason
impl PartialEq for SwitchReason
impl StructuralPartialEq for SwitchReason
Auto Trait Implementations§
impl Freeze for SwitchReason
impl RefUnwindSafe for SwitchReason
impl Send for SwitchReason
impl Sync for SwitchReason
impl Unpin for SwitchReason
impl UnsafeUnpin for SwitchReason
impl UnwindSafe for SwitchReason
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