Enum TestError

pub enum TestError<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>

fn clone(&self) -> Self

impl<T: Debug> Debug for TestError<T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T: Debug> Display for TestError<T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T: Debug> Error for TestError<T>

fn description(&self) -> &str

impl<T: Eq> Eq for TestError<T>

impl<T: PartialEq> PartialEq for TestError<T>

fn eq(&self, other: &Self) -> bool

impl<T: PartialEq> StructuralPartialEq for TestError<T>

Auto Trait Implementations

impl<T> Freeze for TestError<T> where T: Freeze,

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> UnsafeUnpin for TestError<T> where T: UnsafeUnpin,

impl<T> UnwindSafe for TestError<T> where T: UnwindSafe,

Blanket Implementations

impl<T> Any for TestError<T> where T: 'static + ?Sized,

impl<T> Borrow<T> for TestError<T> where T: ?Sized,

impl<T> BorrowMut<T> for TestError<T> where T: ?Sized,

impl<T> CloneToUninit for TestError<T> where T: Clone,

impl<T> From<T> for TestError<T>

impl<T> ToOwned for TestError<T> where T: Clone,

impl<T> ToString for TestError<T> where T: Display + ?Sized,

impl<T, U> Into<U> for TestError<T> where U: From<T>,

impl<T, U> TryFrom<U> for TestError<T> where U: Into<T>,

impl<T, U> TryInto<U> for TestError<T> where U: TryFrom<T>,