pub enum WorkflowExecutionResult<T> {
Succeeded(T),
Failed(Failure),
Cancelled {
details: Vec<Payload>,
},
Terminated {
details: Vec<Payload>,
},
TimedOut,
ContinuedAsNew,
}Expand description
Enumerates terminal states for a particular workflow execution
Variants§
Succeeded(T)
The workflow finished successfully
Failed(Failure)
The workflow finished in failure
Cancelled
The workflow was cancelled
Terminated
The workflow was terminated
TimedOut
The workflow timed out
ContinuedAsNew
The workflow continued as new
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for WorkflowExecutionResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for WorkflowExecutionResult<T>where
T: RefUnwindSafe,
impl<T> Send for WorkflowExecutionResult<T>where
T: Send,
impl<T> Sync for WorkflowExecutionResult<T>where
T: Sync,
impl<T> Unpin for WorkflowExecutionResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for WorkflowExecutionResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WorkflowExecutionResult<T>where
T: UnwindSafe,
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request