#[non_exhaustive]pub enum FlowNode {
Step(Box<StepNode>),
Decision(DecisionNode),
Split(Box<SplitNode>),
Join(JoinNode),
PartitionedStep(Box<PartitionedStepNode>),
}Expand description
One node of a declared flow graph.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Step(Box<StepNode>)
A tasklet or chunk step.
Decision(DecisionNode)
A deterministic decision.
Split(Box<SplitNode>)
A bounded set of linear branches and its structural join.
Join(JoinNode)
A structural join owned by exactly one split.
PartitionedStep(Box<PartitionedStepNode>)
A bounded durable local-partition manager.
Implementations§
Source§impl FlowNode
impl FlowNode
Sourcepub const fn decision(node: DecisionNode) -> Self
pub const fn decision(node: DecisionNode) -> Self
Declares a decision node.
Sourcepub fn partitioned_step(node: PartitionedStepNode) -> Self
pub fn partitioned_step(node: PartitionedStepNode) -> Self
Declares a bounded local partitioned-step node.
Trait Implementations§
impl Eq for FlowNode
impl StructuralPartialEq for FlowNode
Auto Trait Implementations§
impl Freeze for FlowNode
impl RefUnwindSafe for FlowNode
impl Send for FlowNode
impl Sync for FlowNode
impl Unpin for FlowNode
impl UnsafeUnpin for FlowNode
impl UnwindSafe for FlowNode
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