#[repr(i32)]pub enum StepGroup {
Setup = 0,
Main = 1,
Cleanup = 2,
}Expand description
Step execution groups in a sequence (StepGroup_*).
A sequence holds three ordered lists rather than one. Setup runs first, Main carries the test, and Cleanup runs last, including after Main fails, which is what makes it the place for anything that must happen regardless.
Variants§
Setup = 0
Setup step group (StepGroup_Setup = 0).
Main = 1
Main step group (StepGroup_Main = 1).
Cleanup = 2
Cleanup step group (StepGroup_Cleanup = 2).
Implementations§
Trait Implementations§
impl Copy for StepGroup
impl Eq for StepGroup
impl StructuralPartialEq for StepGroup
Auto Trait Implementations§
impl Freeze for StepGroup
impl RefUnwindSafe for StepGroup
impl Send for StepGroup
impl Sync for StepGroup
impl Unpin for StepGroup
impl UnsafeUnpin for StepGroup
impl UnwindSafe for StepGroup
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