pub enum ExampleOutcome {
Ok,
Mismatch {
expected: Value,
actual: Value,
},
Errored {
message: String,
},
}Expand description
Per-example verification outcome.
Variants§
Ok
Implementation produced the declared output (canonical hash match).
Mismatch
Implementation produced a different output.
Errored
Executor returned an error.
Trait Implementations§
Source§impl Clone for ExampleOutcome
impl Clone for ExampleOutcome
Source§fn clone(&self) -> ExampleOutcome
fn clone(&self) -> ExampleOutcome
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 moreSource§impl Debug for ExampleOutcome
impl Debug for ExampleOutcome
Source§impl PartialEq for ExampleOutcome
impl PartialEq for ExampleOutcome
impl StructuralPartialEq for ExampleOutcome
Auto Trait Implementations§
impl Freeze for ExampleOutcome
impl RefUnwindSafe for ExampleOutcome
impl Send for ExampleOutcome
impl Sync for ExampleOutcome
impl Unpin for ExampleOutcome
impl UnsafeUnpin for ExampleOutcome
impl UnwindSafe for ExampleOutcome
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