#[non_exhaustive]pub enum MismatchReason {
Ignored,
String,
Expression,
Partition,
DefaultFilter,
}
Expand description
The reason for why a test doesn’t match a filter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ignored
This test does not match the run-ignored option in the filter.
String
This test does not match the provided string filters.
Expression
This test does not match the provided expression filters.
Partition
This test is in a different partition.
DefaultFilter
This test is filtered out by the default-filter.
This is the lowest-priority reason for skipping a test.
Trait Implementations§
source§impl Clone for MismatchReason
impl Clone for MismatchReason
source§fn clone(&self) -> MismatchReason
fn clone(&self) -> MismatchReason
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 MismatchReason
impl Debug for MismatchReason
source§impl<'de> Deserialize<'de> for MismatchReason
impl<'de> Deserialize<'de> for MismatchReason
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for MismatchReason
impl Display for MismatchReason
source§impl PartialEq for MismatchReason
impl PartialEq for MismatchReason
source§impl Serialize for MismatchReason
impl Serialize for MismatchReason
impl Copy for MismatchReason
impl Eq for MismatchReason
impl StructuralPartialEq for MismatchReason
Auto Trait Implementations§
impl Freeze for MismatchReason
impl RefUnwindSafe for MismatchReason
impl Send for MismatchReason
impl Sync for MismatchReason
impl Unpin for MismatchReason
impl UnwindSafe for MismatchReason
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
)