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

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

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

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

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

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

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

impl<T> StructuralEq for TestError<T>[src]

impl<T> StructuralPartialEq for TestError<T>[src]

Auto Trait Implementations

impl<T> Send for TestError<T> where
    T: Send
[src]

impl<T> Sync for TestError<T> where
    T: Sync
[src]

impl<T> Unpin for TestError<T> where
    T: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,