#[non_exhaustive]pub enum Impact {
Unmeasured,
Inert,
Measured(MeasuredImpact),
}Expand description
How much a decision changed the answer, where that is known.
An impact is a measurement or it is nothing. There is deliberately no
“low”, “moderate” or “high”: such a label would be a property an author
assigned, and presenting it beside measured values would lend it evidence it
does not have. The way to learn an impact is to vary the decision and look,
which is what an audit does and what MeasuredImpact records.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unmeasured
Not measured. The honest default: nothing has been varied.
Inert
The decision cannot change this result, for a structural reason (the input has no alternate locations, say), not an estimated one.
Measured(MeasuredImpact)
Measured by varying the decision across defensible alternatives.
Trait Implementations§
impl Copy for Impact
impl StructuralPartialEq for Impact
Auto Trait Implementations§
impl Freeze for Impact
impl RefUnwindSafe for Impact
impl Send for Impact
impl Sync for Impact
impl Unpin for Impact
impl UnsafeUnpin for Impact
impl UnwindSafe for Impact
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<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