pub enum UncertaintyEstimate {
Unknown,
AbsoluteBound {
value: f64,
unit_id: SemanticId,
},
RelativeBoundMillionths(u32),
ConfidenceInterval {
lower: f64,
upper: f64,
coverage_millionths: u32,
unit_id: SemanticId,
},
}Expand description
A numeric physical error bound, a dimensionless relative bound, or a confidence interval. Confidence level is a method parameter; it is not a probability that the measurement or proposition is true.
Variants§
Unknown
AbsoluteBound
RelativeBoundMillionths(u32)
Dimensionless ratio in millionths; values above one million (100%) are valid and are not silently clamped.
ConfidenceInterval
Trait Implementations§
Source§impl Clone for UncertaintyEstimate
impl Clone for UncertaintyEstimate
impl Copy for UncertaintyEstimate
Source§impl Debug for UncertaintyEstimate
impl Debug for UncertaintyEstimate
Source§impl PartialEq for UncertaintyEstimate
impl PartialEq for UncertaintyEstimate
impl StructuralPartialEq for UncertaintyEstimate
Auto Trait Implementations§
impl Freeze for UncertaintyEstimate
impl RefUnwindSafe for UncertaintyEstimate
impl Send for UncertaintyEstimate
impl Sync for UncertaintyEstimate
impl Unpin for UncertaintyEstimate
impl UnsafeUnpin for UncertaintyEstimate
impl UnwindSafe for UncertaintyEstimate
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more