#[non_exhaustive]pub enum WorkflowInterruptDecisionOutcome {
Buffered,
WokeWorkflow,
Duplicate,
DeadLettered,
}Expand description
Result of submitting a typed human-review decision.
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.
Buffered
The decision was accepted before the worker committed its wait.
WokeWorkflow
The decision atomically made the suspended workflow claimable.
Duplicate
An identical idempotency identity and decision already existed.
DeadLettered
The request was stale or the workflow had become terminal.
Trait Implementations§
Source§impl Clone for WorkflowInterruptDecisionOutcome
impl Clone for WorkflowInterruptDecisionOutcome
Source§fn clone(&self) -> WorkflowInterruptDecisionOutcome
fn clone(&self) -> WorkflowInterruptDecisionOutcome
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 WorkflowInterruptDecisionOutcome
impl Eq for WorkflowInterruptDecisionOutcome
Source§impl From<WorkflowSignalOutcome> for WorkflowInterruptDecisionOutcome
impl From<WorkflowSignalOutcome> for WorkflowInterruptDecisionOutcome
Source§fn from(value: WorkflowSignalOutcome) -> Self
fn from(value: WorkflowSignalOutcome) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for WorkflowInterruptDecisionOutcome
Auto Trait Implementations§
impl Freeze for WorkflowInterruptDecisionOutcome
impl RefUnwindSafe for WorkflowInterruptDecisionOutcome
impl Send for WorkflowInterruptDecisionOutcome
impl Sync for WorkflowInterruptDecisionOutcome
impl Unpin for WorkflowInterruptDecisionOutcome
impl UnsafeUnpin for WorkflowInterruptDecisionOutcome
impl UnwindSafe for WorkflowInterruptDecisionOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.