pub type WorkflowResult<T> = Result<T, WorkflowTermination>;Expand description
The result of running a workflow.
Successful completion returns Ok(T) where T is the workflow’s return type.
Non-error terminations (cancel, eviction, continue-as-new) return Err(WorkflowTermination).
Aliased Type§
pub enum WorkflowResult<T> {
Ok(T),
Err(WorkflowTermination),
}