Enum nextest_filtering::FilteringSet
source · pub enum FilteringSet {
Packages(HashSet<PackageId>),
Kind(NameMatcher, SourceSpan),
Platform(BuildPlatform, SourceSpan),
Binary(NameMatcher, SourceSpan),
BinaryId(NameMatcher, SourceSpan),
Test(NameMatcher, SourceSpan),
All,
None,
}
Expand description
Define a set of tests
Variants§
Packages(HashSet<PackageId>)
All tests in packages
Kind(NameMatcher, SourceSpan)
All tests present in this kind of binary.
Platform(BuildPlatform, SourceSpan)
The platform a test is built for.
Binary(NameMatcher, SourceSpan)
All binaries matching a name
BinaryId(NameMatcher, SourceSpan)
All binary IDs matching a name
Test(NameMatcher, SourceSpan)
All tests matching a name
All
All tests
None
No tests
Trait Implementations§
source§impl Clone for FilteringSet
impl Clone for FilteringSet
source§fn clone(&self) -> FilteringSet
fn clone(&self) -> FilteringSet
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 FilteringSet
impl Debug for FilteringSet
source§impl PartialEq for FilteringSet
impl PartialEq for FilteringSet
source§fn eq(&self, other: &FilteringSet) -> bool
fn eq(&self, other: &FilteringSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FilteringSet
impl StructuralPartialEq for FilteringSet
Auto Trait Implementations§
impl Freeze for FilteringSet
impl RefUnwindSafe for FilteringSet
impl Send for FilteringSet
impl Sync for FilteringSet
impl Unpin for FilteringSet
impl UnwindSafe for FilteringSet
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more