Enum proptest::test_runner::TestError
[−]
[src]
pub enum TestError<T> { Abort(String), Fail(String, T), }
A failure state from running test cases for a single test.
Variants
Abort(String)
The test was aborted for the given reason, for example, due to too many inputs having been rejected.
Fail(String, 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
impl<T: Debug> Debug for TestError<T>
[src]
impl<T: Clone> Clone for TestError<T>
[src]
fn clone(&self) -> TestError<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq for TestError<T>
[src]
fn eq(&self, __arg_0: &TestError<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TestError<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq> Eq for TestError<T>
[src]
impl<T: Debug> Display for TestError<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more