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]

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

This method tests for !=.

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

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

Formats the value using the given formatter. Read more

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

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl<T> Send for TestError<T> where
    T: Send

impl<T> Sync for TestError<T> where
    T: Sync