pub struct ChildWorkflowFailure {Show 15 fields
pub kind: ChildWorkflowFailureKind,
pub reason: String,
pub message: String,
pub parent_workflow_id: Option<String>,
pub parent_workflow_run_id: Option<String>,
pub child_workflow_id: Option<String>,
pub child_workflow_run_id: Option<String>,
pub child_workflow_type: Option<String>,
pub failure_id: Option<String>,
pub failure_category: Option<String>,
pub exception_type: Option<String>,
pub exception_class: Option<String>,
pub non_retryable: bool,
pub code: Option<Value>,
pub exception: Option<Value>,
}Expand description
A stable, machine-readable child workflow failure delivered to its parent.
Match Error::ChildWorkflowFailed and inspect reason or kind instead
of parsing the display message. Child and parent identifiers retain the
relationship recorded in durable history across worker restarts.
Fields§
§kind: ChildWorkflowFailureKind§reason: String§message: String§parent_workflow_id: Option<String>§parent_workflow_run_id: Option<String>§child_workflow_id: Option<String>§child_workflow_run_id: Option<String>§child_workflow_type: Option<String>§failure_id: Option<String>§failure_category: Option<String>§exception_type: Option<String>§exception_class: Option<String>§non_retryable: bool§code: Option<Value>§exception: Option<Value>Trait Implementations§
Source§impl Clone for ChildWorkflowFailure
impl Clone for ChildWorkflowFailure
Source§fn clone(&self) -> ChildWorkflowFailure
fn clone(&self) -> ChildWorkflowFailure
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 ChildWorkflowFailure
impl Debug for ChildWorkflowFailure
Source§impl Display for ChildWorkflowFailure
impl Display for ChildWorkflowFailure
Source§impl Error for ChildWorkflowFailure
impl Error for ChildWorkflowFailure
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for ChildWorkflowFailure
impl RefUnwindSafe for ChildWorkflowFailure
impl Send for ChildWorkflowFailure
impl Sync for ChildWorkflowFailure
impl Unpin for ChildWorkflowFailure
impl UnsafeUnpin for ChildWorkflowFailure
impl UnwindSafe for ChildWorkflowFailure
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