#[non_exhaustive]pub enum Finding {
Survived,
Lost {
violations: Vec<Violation>,
},
NotMeasured {
why: String,
},
HarnessBroken {
why: String,
violations: Vec<Violation>,
},
}Expand description
The outcome with its evidence attached.
let f = Finding::NotMeasured { why: "the engine syncs where we cannot see".into() };
assert_eq!(f.verdict(), Verdict::NotMeasured);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.
Survived
The durable set honoured the ack.
Lost
The durable set did not honour the ack, and coverage was complete enough for that to mean something.
NotMeasured
Never a silent pass, never a false accusation. The check ran but its result is not sound — most often because the witness admitted it cannot see all of the store’s sync activity, so an unobserved sync might have saved the data.
HarnessBroken
The harness is broken: the captured copy was not a usable store, or the teeth control — the run that must pass — did not.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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