#[repr(u8)]pub enum Certainty {
Definite = 0,
Approximate = 1,
Uncertain = 2,
Unknown = 3,
}Expand description
Epistemic certainty of a BTIC bound value.
Certainty is metadata only; it does not affect comparison or ordering.
Variants§
Definite = 0
Bound is known precisely to stated granularity.
Approximate = 1
Bound is estimated; true value may differ by +/-1 unit of granularity.
Uncertain = 2
Bound is weakly estimated; true value may differ significantly.
Unknown = 3
Bound is not meaningfully known; stored value is a best guess.
Implementations§
Trait Implementations§
impl Copy for Certainty
impl Eq for Certainty
Source§impl Ord for Certainty
impl Ord for Certainty
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Certainty
impl PartialOrd for Certainty
impl StructuralPartialEq for Certainty
Auto Trait Implementations§
impl Freeze for Certainty
impl RefUnwindSafe for Certainty
impl Send for Certainty
impl Sync for Certainty
impl Unpin for Certainty
impl UnsafeUnpin for Certainty
impl UnwindSafe for Certainty
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