Enum proptest::test_runner::TestError
source · [−]Expand description
A failure state from running test cases for a single test.
Variants
Abort(Reason)
The test was aborted for the given reason, for example, due to too many inputs having been rejected.
Fail(Reason, T)
A failing test case was found. The string indicates where and/or why
the test failed. The T
is the minimal input found to reproduce the
failure.
Trait Implementations
sourceimpl<T: Debug> Error for TestError<T>
impl<T: Debug> Error for TestError<T>
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
impl<T: Eq> Eq for TestError<T>
impl<T> StructuralEq for TestError<T>
impl<T> StructuralPartialEq for TestError<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for TestError<T> where
T: RefUnwindSafe,
impl<T> Send for TestError<T> where
T: Send,
impl<T> Sync for TestError<T> where
T: Sync,
impl<T> Unpin for TestError<T> where
T: Unpin,
impl<T> UnwindSafe for TestError<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more