pub enum StepDef {
Task(TaskDef),
Group(GroupDef),
}Expand description
One element of a step list. An element carrying a tasks key is a group.
Not #[non_exhaustive]: the step grammar is closed, and a match on it is
a decision about every kind of step.
Variants§
Task(TaskDef)
A task: one function call.
Group(GroupDef)
A group: a span of steps sharing one condition.
Implementations§
Trait Implementations§
impl StructuralPartialEq for StepDef
Auto Trait Implementations§
impl Freeze for StepDef
impl RefUnwindSafe for StepDef
impl Send for StepDef
impl Sync for StepDef
impl Unpin for StepDef
impl UnsafeUnpin for StepDef
impl UnwindSafe for StepDef
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