pub struct FlowDecision { /* private fields */ }Expand description
One append-only, repository-authoritative selected transition.
Implementations§
Source§impl FlowDecision
impl FlowDecision
Sourcepub const fn id(&self) -> FlowDecisionId
pub const fn id(&self) -> FlowDecisionId
Returns the repository-owned identifier.
Sourcepub const fn job_execution_id(&self) -> JobExecutionId
pub const fn job_execution_id(&self) -> JobExecutionId
Returns the execution that recorded this traversal.
Sourcepub const fn sequence(&self) -> FlowDecisionSequence
pub const fn sequence(&self) -> FlowDecisionSequence
Returns the execution-local ordering.
Sourcepub const fn source_node_id(&self) -> &NodeId
pub const fn source_node_id(&self) -> &NodeId
Borrows the source logical node.
Sourcepub const fn source_step_execution_id(&self) -> Option<StepExecutionId>
pub const fn source_step_execution_id(&self) -> Option<StepExecutionId>
Returns the step attempt whose durable result was observed, if any.
Sourcepub const fn kind(&self) -> FlowTransitionKind
pub const fn kind(&self) -> FlowTransitionKind
Returns why this transition was selected.
Sourcepub const fn observed_outcome(&self) -> &ExitCode
pub const fn observed_outcome(&self) -> &ExitCode
Borrows the bounded observed outcome.
Sourcepub const fn target(&self) -> &FlowTarget
pub const fn target(&self) -> &FlowTarget
Borrows the selected node or terminal.
Sourcepub const fn plan_fingerprint(&self) -> &[u8; 32]
pub const fn plan_fingerprint(&self) -> &[u8; 32]
Returns the exact plan fingerprint under which the choice was made.
Sourcepub const fn input_digest(&self) -> &[u8; 32]
pub const fn input_digest(&self) -> &[u8; 32]
Returns the value-redacted durable-input digest.
Sourcepub const fn reused_decision_id(&self) -> Option<FlowDecisionId>
pub const fn reused_decision_id(&self) -> Option<FlowDecisionId>
Returns the prior committed decision reused by restart, if any.
Sourcepub const fn decided_at(&self) -> SystemTime
pub const fn decided_at(&self) -> SystemTime
Returns the injected facade-clock timestamp.
Trait Implementations§
Source§impl Clone for FlowDecision
impl Clone for FlowDecision
Source§fn clone(&self) -> FlowDecision
fn clone(&self) -> FlowDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlowDecision
impl Debug for FlowDecision
impl Eq for FlowDecision
Source§impl PartialEq for FlowDecision
impl PartialEq for FlowDecision
impl StructuralPartialEq for FlowDecision
Auto Trait Implementations§
impl Freeze for FlowDecision
impl RefUnwindSafe for FlowDecision
impl Send for FlowDecision
impl Sync for FlowDecision
impl Unpin for FlowDecision
impl UnsafeUnpin for FlowDecision
impl UnwindSafe for FlowDecision
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