Enum proptest::test_runner::TestError [] [src]

pub enum TestError<T> {
    Abort(Reason),
    Fail(Reason, T),
}

A failure state from running test cases for a single test.

Variants

The test was aborted for the given reason, for example, due to too many inputs having been rejected.

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]

[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for TestError<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for TestError<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Eq> Eq for TestError<T>
[src]

impl<T: Debug> Display for TestError<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Debug> Error for TestError<T>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more