Enum quick_junit::NonSuccessKind
source · 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
sourceimpl Clone for NonSuccessKind
impl Clone for NonSuccessKind
sourcefn clone(&self) -> NonSuccessKind
fn clone(&self) -> NonSuccessKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for NonSuccessKind
impl Debug for NonSuccessKind
sourceimpl PartialEq<NonSuccessKind> for NonSuccessKind
impl PartialEq<NonSuccessKind> for NonSuccessKind
sourcefn eq(&self, other: &NonSuccessKind) -> bool
fn eq(&self, other: &NonSuccessKind) -> bool
impl Copy for NonSuccessKind
impl Eq for NonSuccessKind
impl StructuralEq for NonSuccessKind
impl StructuralPartialEq for NonSuccessKind
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.