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
Tis 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