pub enum OutgoingWorkflowError {
Application(Box<ApplicationFailure>),
ActivityExecution(Box<ActivityExecutionError>),
ChildWorkflowExecution(Box<ChildWorkflowExecutionError>),
ChildWorkflowStart(Box<ChildWorkflowStartError>),
ChildWorkflowSignal(Box<ChildWorkflowSignalError>),
}Expand description
A typed outbound workflow failure.
Variants§
Application(Box<ApplicationFailure>)
A workflow application failure.
ActivityExecution(Box<ActivityExecutionError>)
A workflow failure sourced from an activity execution.
ChildWorkflowExecution(Box<ChildWorkflowExecutionError>)
A workflow failure sourced from a child-workflow execution.
ChildWorkflowStart(Box<ChildWorkflowStartError>)
A workflow failure sourced from child-workflow start.
ChildWorkflowSignal(Box<ChildWorkflowSignalError>)
A workflow failure sourced from child-workflow signaling.
Trait Implementations§
Source§impl Debug for OutgoingWorkflowError
impl Debug for OutgoingWorkflowError
Source§impl Display for OutgoingWorkflowError
impl Display for OutgoingWorkflowError
Source§impl Error for OutgoingWorkflowError
impl Error for OutgoingWorkflowError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ActivityExecutionError> for OutgoingWorkflowError
impl From<ActivityExecutionError> for OutgoingWorkflowError
Source§fn from(value: ActivityExecutionError) -> Self
fn from(value: ActivityExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<ApplicationFailure> for OutgoingWorkflowError
impl From<ApplicationFailure> for OutgoingWorkflowError
Source§fn from(value: ApplicationFailure) -> Self
fn from(value: ApplicationFailure) -> Self
Converts to this type from the input type.
Source§impl From<Box<ActivityExecutionError>> for OutgoingWorkflowError
impl From<Box<ActivityExecutionError>> for OutgoingWorkflowError
Source§fn from(source: Box<ActivityExecutionError>) -> Self
fn from(source: Box<ActivityExecutionError>) -> Self
Converts to this type from the input type.
Source§impl From<Box<ApplicationFailure>> for OutgoingWorkflowError
impl From<Box<ApplicationFailure>> for OutgoingWorkflowError
Source§fn from(source: Box<ApplicationFailure>) -> Self
fn from(source: Box<ApplicationFailure>) -> Self
Converts to this type from the input type.
Source§impl From<Box<ChildWorkflowExecutionError>> for OutgoingWorkflowError
impl From<Box<ChildWorkflowExecutionError>> for OutgoingWorkflowError
Source§fn from(source: Box<ChildWorkflowExecutionError>) -> Self
fn from(source: Box<ChildWorkflowExecutionError>) -> Self
Converts to this type from the input type.
Source§impl From<Box<ChildWorkflowSignalError>> for OutgoingWorkflowError
impl From<Box<ChildWorkflowSignalError>> for OutgoingWorkflowError
Source§fn from(source: Box<ChildWorkflowSignalError>) -> Self
fn from(source: Box<ChildWorkflowSignalError>) -> Self
Converts to this type from the input type.
Source§impl From<Box<ChildWorkflowStartError>> for OutgoingWorkflowError
impl From<Box<ChildWorkflowStartError>> for OutgoingWorkflowError
Source§fn from(source: Box<ChildWorkflowStartError>) -> Self
fn from(source: Box<ChildWorkflowStartError>) -> Self
Converts to this type from the input type.
Source§impl From<ChildWorkflowExecutionError> for OutgoingWorkflowError
impl From<ChildWorkflowExecutionError> for OutgoingWorkflowError
Source§fn from(value: ChildWorkflowExecutionError) -> Self
fn from(value: ChildWorkflowExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<ChildWorkflowSignalError> for OutgoingWorkflowError
impl From<ChildWorkflowSignalError> for OutgoingWorkflowError
Source§fn from(value: ChildWorkflowSignalError) -> Self
fn from(value: ChildWorkflowSignalError) -> Self
Converts to this type from the input type.
Source§impl From<ChildWorkflowStartError> for OutgoingWorkflowError
impl From<ChildWorkflowStartError> for OutgoingWorkflowError
Source§fn from(value: ChildWorkflowStartError) -> Self
fn from(value: ChildWorkflowStartError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for OutgoingWorkflowError
impl From<Error> for OutgoingWorkflowError
Source§impl From<OutgoingWorkflowError> for OutgoingError
impl From<OutgoingWorkflowError> for OutgoingError
Source§fn from(source: OutgoingWorkflowError) -> Self
fn from(source: OutgoingWorkflowError) -> Self
Converts to this type from the input type.
Source§impl From<PayloadConversionError> for OutgoingWorkflowError
impl From<PayloadConversionError> for OutgoingWorkflowError
Source§fn from(value: PayloadConversionError) -> Self
fn from(value: PayloadConversionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OutgoingWorkflowError
impl !RefUnwindSafe for OutgoingWorkflowError
impl Send for OutgoingWorkflowError
impl Sync for OutgoingWorkflowError
impl Unpin for OutgoingWorkflowError
impl UnsafeUnpin for OutgoingWorkflowError
impl !UnwindSafe for OutgoingWorkflowError
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