pub enum RouteReason {
RoutingOff,
Pinned,
NoCalibration,
NoMeasurement,
NotMeasuredEnough,
DisagreementTooHigh,
CheapAccepted,
EscalatedLowConfidence,
EscalatedNarrowMargin,
EscalatedCheapFailed,
}Expand description
Why a question went where it went.
Variants§
RoutingOff
Pinned
NoCalibration
No Thresholds for the cheap adapter.
NoMeasurement
The evidence has no such kind.
NotMeasuredEnough
Fewer measured questions than min_questions at the thresholds.
DisagreementTooHigh
Measured disagreement above max_disagreement_rate.
CheapAccepted
Trusted, and the cheap answer cleared the thresholds.
EscalatedLowConfidence
Trusted, but the cheap answer’s confidence was below the minimum.
EscalatedNarrowMargin
Trusted, but the cheap answer’s top-two margin was below the minimum.
EscalatedCheapFailed
Trusted, but the cheap adapter failed or left the question out.
Trait Implementations§
Source§impl Clone for RouteReason
impl Clone for RouteReason
impl Copy for RouteReason
Source§impl Debug for RouteReason
impl Debug for RouteReason
impl Eq for RouteReason
Source§impl PartialEq for RouteReason
impl PartialEq for RouteReason
impl StructuralPartialEq for RouteReason
Auto Trait Implementations§
impl Freeze for RouteReason
impl RefUnwindSafe for RouteReason
impl Send for RouteReason
impl Sync for RouteReason
impl Unpin for RouteReason
impl UnsafeUnpin for RouteReason
impl UnwindSafe for RouteReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.