pub enum ExpectedOutcome {
Feasible {
min_confidence: f64,
required_invariants: Vec<String>,
},
Infeasible {
expected_violations: Vec<String>,
},
GateDecision {
decision: GateDecision,
},
Deterministic {
expected_output: Value,
},
}Expand description
Expected outcome of a test scenario
Variants§
Feasible
Should find a feasible solution
Fields
Infeasible
Should report infeasible
GateDecision
Should match specific gate decision
Fields
§
decision: GateDecisionExpected decision
Deterministic
Should produce deterministic output
Trait Implementations§
Source§impl Clone for ExpectedOutcome
impl Clone for ExpectedOutcome
Source§fn clone(&self) -> ExpectedOutcome
fn clone(&self) -> ExpectedOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpectedOutcome
impl RefUnwindSafe for ExpectedOutcome
impl Send for ExpectedOutcome
impl Sync for ExpectedOutcome
impl Unpin for ExpectedOutcome
impl UnsafeUnpin for ExpectedOutcome
impl UnwindSafe for ExpectedOutcome
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