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§
source§impl Clone for NonSuccessKind
impl Clone for NonSuccessKind
source§fn clone(&self) -> NonSuccessKind
fn clone(&self) -> NonSuccessKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NonSuccessKind
impl Debug for NonSuccessKind
source§impl PartialEq for NonSuccessKind
impl PartialEq for NonSuccessKind
impl Copy for NonSuccessKind
impl Eq for NonSuccessKind
impl StructuralPartialEq for NonSuccessKind
Auto Trait Implementations§
impl Freeze for NonSuccessKind
impl RefUnwindSafe for NonSuccessKind
impl Send for NonSuccessKind
impl Sync for NonSuccessKind
impl Unpin for NonSuccessKind
impl UnwindSafe for NonSuccessKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.