#[non_exhaustive]pub enum WorkflowForkOutcome {
Created {
checkpoint_id: CheckpointId,
},
Duplicate {
checkpoint_id: CheckpointId,
},
}Expand description
Result of an idempotent workflow fork command.
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.
Created
A new workflow branch was atomically created.
Fields
§
checkpoint_id: CheckpointIdNew branch identity.
Duplicate
The same target identity was already bound to the same source.
Fields
§
checkpoint_id: CheckpointIdExisting branch identity.
Trait Implementations§
Source§impl Clone for WorkflowForkOutcome
impl Clone for WorkflowForkOutcome
Source§fn clone(&self) -> WorkflowForkOutcome
fn clone(&self) -> WorkflowForkOutcome
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 WorkflowForkOutcome
Source§impl Debug for WorkflowForkOutcome
impl Debug for WorkflowForkOutcome
impl Eq for WorkflowForkOutcome
Source§impl PartialEq for WorkflowForkOutcome
impl PartialEq for WorkflowForkOutcome
impl StructuralPartialEq for WorkflowForkOutcome
Auto Trait Implementations§
impl Freeze for WorkflowForkOutcome
impl RefUnwindSafe for WorkflowForkOutcome
impl Send for WorkflowForkOutcome
impl Sync for WorkflowForkOutcome
impl Unpin for WorkflowForkOutcome
impl UnsafeUnpin for WorkflowForkOutcome
impl UnwindSafe for WorkflowForkOutcome
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