Enum quick_junit::NonSuccessKind [−][src]
pub enum NonSuccessKind {
Failure,
Error,
}
Expand description
Whether a test failure is “expected” or not.
An expected test failure is generally one that is anticipated by the test or the harness, while an unexpected failure might be something like an external service being down or a failure to execute the binary.
Variants
Failure
This is an expected failure. Serialized as failure
, flakyFailure
or rerunFailure
depending on the context.
Error
This is an unexpected error. Serialized as error
, flakyError
or rerunError
depending
on the context.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NonSuccessKind
impl Send for NonSuccessKind
impl Sync for NonSuccessKind
impl Unpin for NonSuccessKind
impl UnwindSafe for NonSuccessKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.