pub struct StepCompletionOpts<'a> {
pub node_id: &'a FlowNodeId,
pub step_id: &'a StepId,
pub output: Value,
pub loop_context: Option<(&'a LoopId, u64)>,
pub max_retries: usize,
}Expand description
Options for completing a step node and recording its output.
Fields§
§node_id: &'a FlowNodeIdThe frame node that was admitted as a step.
step_id: &'a StepIdThe step ID used to store the output.
output: ValueThe output value produced by the step executor.
loop_context: Option<(&'a LoopId, u64)>None for root frame steps (stored in root_step_outputs).
Some((loop_id, iteration)) for loop body steps (stored in
loop_iteration_outputs[loop_id][iteration]).
max_retries: usizeMaximum number of CAS retries before returning an error.
Auto Trait Implementations§
impl<'a> Freeze for StepCompletionOpts<'a>
impl<'a> RefUnwindSafe for StepCompletionOpts<'a>
impl<'a> Send for StepCompletionOpts<'a>
impl<'a> Sync for StepCompletionOpts<'a>
impl<'a> Unpin for StepCompletionOpts<'a>
impl<'a> UnsafeUnpin for StepCompletionOpts<'a>
impl<'a> UnwindSafe for StepCompletionOpts<'a>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more