pub enum EdgeKind {
Sequence,
Branch {
arm: ArmLabel,
},
FanOut,
}Expand description
The relationship a directed edge expresses between two nodes.
Variants§
Sequence
Sequential control flow: from precedes to in the workflow’s order.
Branch
A branch arm: from is a Branch node, to is the first node reached
on the arm of that case. The label distinguishes the success arm
from the compensation arm so the extracted edge set matches the
workflow’s actual control flow rather than a linear flatten.
FanOut
A concurrent fan-out member: from is an All / Race / Map node,
to is one member activity dispatched concurrently under it. The member
nodes carry their own ActivitySequence keys so a consumer can overlay
each member’s recorded ActivityCompleted independently.
Trait Implementations§
impl Eq for EdgeKind
Source§impl Ord for EdgeKind
impl Ord for EdgeKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EdgeKind
impl PartialOrd for EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations§
impl Freeze for EdgeKind
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnsafeUnpin for EdgeKind
impl UnwindSafe for EdgeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.