pub struct RustTestSuiteStatusSummary(pub Cow<'static, str>);
Expand description
Information about whether a test suite was listed or skipped.
This is part of RustTestSuiteSummary
.
Tuple Fields§
§0: Cow<'static, str>
Implementations§
source§impl RustTestSuiteStatusSummary
impl RustTestSuiteStatusSummary
sourcepub fn new(kind: impl Into<Cow<'static, str>>) -> Self
pub fn new(kind: impl Into<Cow<'static, str>>) -> Self
Creates a new RustNonTestBinaryKind
from a string.
sourcepub const fn new_const(kind: &'static str) -> Self
pub const fn new_const(kind: &'static str) -> Self
Creates a new RustNonTestBinaryKind
from a static string.
sourcepub const LISTED: Self = _
pub const LISTED: Self = _
The “listed” kind, which means that the test binary was executed with --list
to gather the
list of tests in it.
sourcepub const SKIPPED: Self = _
pub const SKIPPED: Self = _
The “skipped” kind, which indicates that the test binary was not executed because it didn’t match any filtersets.
In this case, the contents of RustTestSuiteSummary::test_cases
is empty.
sourcepub const SKIPPED_DEFAULT_FILTER: Self = _
pub const SKIPPED_DEFAULT_FILTER: Self = _
The binary doesn’t match the profile’s default-filter
.
This is the lowest-priority reason for skipping a binary.
Trait Implementations§
source§impl Clone for RustTestSuiteStatusSummary
impl Clone for RustTestSuiteStatusSummary
source§fn clone(&self) -> RustTestSuiteStatusSummary
fn clone(&self) -> RustTestSuiteStatusSummary
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 RustTestSuiteStatusSummary
impl Debug for RustTestSuiteStatusSummary
source§impl<'de> Deserialize<'de> for RustTestSuiteStatusSummary
impl<'de> Deserialize<'de> for RustTestSuiteStatusSummary
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 Hash for RustTestSuiteStatusSummary
impl Hash for RustTestSuiteStatusSummary
source§impl Ord for RustTestSuiteStatusSummary
impl Ord for RustTestSuiteStatusSummary
source§fn cmp(&self, other: &RustTestSuiteStatusSummary) -> Ordering
fn cmp(&self, other: &RustTestSuiteStatusSummary) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialOrd for RustTestSuiteStatusSummary
impl PartialOrd for RustTestSuiteStatusSummary
impl Eq for RustTestSuiteStatusSummary
impl StructuralPartialEq for RustTestSuiteStatusSummary
Auto Trait Implementations§
impl Freeze for RustTestSuiteStatusSummary
impl RefUnwindSafe for RustTestSuiteStatusSummary
impl Send for RustTestSuiteStatusSummary
impl Sync for RustTestSuiteStatusSummary
impl Unpin for RustTestSuiteStatusSummary
impl UnwindSafe for RustTestSuiteStatusSummary
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
)