pub enum TestFilterCategory<'a> {
Fullsuite,
Arg(&'a str),
Uninteresting,
}Expand description
Value returned from is_valid_test_suite_arg, which figures out which paths start with the
suite name (and therefore which should be run).
Variants§
Fullsuite
If a path is equal to the name of the suite, this is returned.
Arg(&'a str)
If a path starts with the suite, the suite prefix is stripped and the rest is returned as this variant.
Uninteresting
For paths that don’t start with the suite.
Auto Trait Implementations§
impl<'a> Freeze for TestFilterCategory<'a>
impl<'a> RefUnwindSafe for TestFilterCategory<'a>
impl<'a> Send for TestFilterCategory<'a>
impl<'a> Sync for TestFilterCategory<'a>
impl<'a> Unpin for TestFilterCategory<'a>
impl<'a> UnsafeUnpin for TestFilterCategory<'a>
impl<'a> UnwindSafe for TestFilterCategory<'a>
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
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
Fullsuite: 0 bytesArg: 16 bytesUninteresting: 0 bytes