pub struct ResumeContext {
pub skip_steps: Vec<CompletedStep>,
pub variable_state: HashMap<String, Value>,
pub mapreduce_state: Option<MapReduceCheckpoint>,
pub start_from_step: usize,
pub resume_iteration: Option<usize>,
pub checkpoint: Option<Box<WorkflowCheckpoint>>,
}Expand description
Context for resuming workflow execution
Fields§
§skip_steps: Vec<CompletedStep>Steps to skip (already completed)
variable_state: HashMap<String, Value>Variable state to restore
mapreduce_state: Option<MapReduceCheckpoint>MapReduce state if applicable
start_from_step: usizeStarting step index
resume_iteration: Option<usize>Iteration to resume from
checkpoint: Option<Box<WorkflowCheckpoint>>Original checkpoint for reference
Trait Implementations§
Source§impl Clone for ResumeContext
impl Clone for ResumeContext
Source§fn clone(&self) -> ResumeContext
fn clone(&self) -> ResumeContext
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 moreAuto Trait Implementations§
impl Freeze for ResumeContext
impl RefUnwindSafe for ResumeContext
impl Send for ResumeContext
impl Sync for ResumeContext
impl Unpin for ResumeContext
impl UnsafeUnpin for ResumeContext
impl UnwindSafe for ResumeContext
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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