pub struct TestEntry {
pub name: String,
pub kind: TestKind,
pub tags: Vec<String>,
pub isolation: Option<IsolationDirective>,
}Expand description
A discovered test function with its run classification.
Fields§
§name: String§kind: TestKindTags collected from ## @tag <name> doc comments immediately preceding the function.
isolation: Option<IsolationDirective>Isolation override from source comments.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TestEntry
impl Freeze for TestEntry
impl Move for TestEntry
impl RefUnwindSafe for TestEntry
impl Send for TestEntrywhere
RawVecInner: Send,
impl Sync for TestEntrywhere
RawVecInner: Sync,
impl Unpin for TestEntry
impl UnsafeUnpin for TestEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for TestEntrywhere
RawVecInner: UnwindSafe,
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