pub enum StepKind {
Leaf,
Group,
TooDeep,
}Expand description
What an authored step element is.
Deliberately not #[non_exhaustive]: a caller matching on this is deciding
how to report a node, and a fourth kind would need that decision revisited
at every site.
Variants§
Leaf
A task — or an element malformed enough that it is not a group either.
Group
A task group. Its members follow it in the walk.
TooDeep
A group nested at or beyond MAX_GROUP_DEPTH. The parser rejects the
whole workflow here; the walker reports it and does not descend, so
nothing is silently truncated without a node to point at.
Trait Implementations§
impl Copy for StepKind
impl Eq for StepKind
impl StructuralPartialEq for StepKind
Auto Trait Implementations§
impl Freeze for StepKind
impl RefUnwindSafe for StepKind
impl Send for StepKind
impl Sync for StepKind
impl Unpin for StepKind
impl UnsafeUnpin for StepKind
impl UnwindSafe for StepKind
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