pub struct Controls {
pub positive: Report,
pub dive_format: Option<Validation>,
pub mutants: Vec<(String, Validation)>,
}Expand description
The result of running the validator’s controls on one counterexample known to be valid (TLC’s, or dive’s): the positive control, and every by-construction mutant.
Fields§
§positive: ReportThe original trace’s report.
dive_format: Option<Validation>The trace as read, written in dive’s format and validated again: it must agree with the positive control.
mutants: Vec<(String, Validation)>Each mutant’s name and verdict. Every one must be invalid.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Controls
impl Freeze for Controls
impl Move for Controls
impl RefUnwindSafe for Controls
impl Send for Controls
impl Sync for Controls
impl Unpin for Controls
impl UnsafeUnpin for Controls
impl UnwindSafe for Controls
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