pub enum Resolution {
ActivityCompleted(Payload),
ActivityFailedTerminal(ActivityError),
TimerFired,
TimerStarted,
SignalDelivered(Payload),
TimerCancelled,
WithTimeout {
outcome: WithTimeoutOutcome,
result: Option<Payload>,
},
SignalSent,
ChildStarted(WorkflowId),
ChildCompleted(Payload),
ChildFailed(WorkflowError),
}Expand description
Recorded outcome produced by resolving a command against history.
Variants§
ActivityCompleted(Payload)
A recorded activity completion with its result payload.
ActivityFailedTerminal(ActivityError)
A recorded terminal activity failure.
TimerFired
A recorded timer firing.
TimerStarted
A recorded timer start without a terminal timer outcome yet.
SignalDelivered(Payload)
A recorded signal delivery with its payload.
TimerCancelled
A recorded timer cancellation.
WithTimeout
A recorded with_timeout terminal outcome with an optional result payload.
Fields
§
outcome: WithTimeoutOutcomeRecorded timeout outcome.
SignalSent
A recorded successful signal send.
ChildStarted(WorkflowId)
A recorded child workflow start with its child identifier.
ChildCompleted(Payload)
A recorded child workflow completion with its result payload.
ChildFailed(WorkflowError)
A recorded child workflow failure.
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§fn clone(&self) -> Resolution
fn clone(&self) -> Resolution
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 moreSource§impl Debug for Resolution
impl Debug for Resolution
Source§impl PartialEq for Resolution
impl PartialEq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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