pub enum TestResult {
Pass,
Fail {
evidence: String,
location: Option<SourceLocation>,
},
NotApplicable,
}Expand description
Result of a falsification test
Variants§
Pass
Test passed (hypothesis not refuted)
Fail
Test failed (hypothesis refuted)
NotApplicable
Test not applicable
Implementations§
Trait Implementations§
Source§impl Clone for TestResult
impl Clone for TestResult
Auto Trait Implementations§
impl Freeze for TestResult
impl RefUnwindSafe for TestResult
impl Send for TestResult
impl Sync for TestResult
impl Unpin for TestResult
impl UnsafeUnpin for TestResult
impl UnwindSafe for TestResult
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