#[non_exhaustive]pub enum WorkflowResumePolicy {
RejectAmbiguous,
RetryInterruptedStep,
}Expand description
Recovery behavior for a workflow interrupted inside one node.
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.
RejectAmbiguous
Reject recovery that could duplicate model cost or external effects.
RetryInterruptedStep
Explicitly retry only the interrupted workflow node.
Trait Implementations§
Source§impl Clone for WorkflowResumePolicy
impl Clone for WorkflowResumePolicy
Source§fn clone(&self) -> WorkflowResumePolicy
fn clone(&self) -> WorkflowResumePolicy
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 moreimpl Copy for WorkflowResumePolicy
Source§impl Debug for WorkflowResumePolicy
impl Debug for WorkflowResumePolicy
Source§impl Default for WorkflowResumePolicy
impl Default for WorkflowResumePolicy
Source§fn default() -> WorkflowResumePolicy
fn default() -> WorkflowResumePolicy
Returns the “default value” for a type. Read more
impl Eq for WorkflowResumePolicy
Source§impl PartialEq for WorkflowResumePolicy
impl PartialEq for WorkflowResumePolicy
impl StructuralPartialEq for WorkflowResumePolicy
Auto Trait Implementations§
impl Freeze for WorkflowResumePolicy
impl RefUnwindSafe for WorkflowResumePolicy
impl Send for WorkflowResumePolicy
impl Sync for WorkflowResumePolicy
impl Unpin for WorkflowResumePolicy
impl UnsafeUnpin for WorkflowResumePolicy
impl UnwindSafe for WorkflowResumePolicy
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