pub struct WorkflowTaskFailure(/* private fields */);Expand description
A read-only description of the workflow-task core’s own error.
WorkflowTaskNext::run returns it as Error::WorkflowTaskFailed. It
does not own the error: the worker keeps the original and reports it
whatever an interceptor returns or retains.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowTaskFailure
impl Clone for WorkflowTaskFailure
Source§fn clone(&self) -> WorkflowTaskFailure
fn clone(&self) -> WorkflowTaskFailure
Returns a copy of the value. Read more
1.0.0 · 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 WorkflowTaskFailure
impl Debug for WorkflowTaskFailure
Source§impl Display for WorkflowTaskFailure
impl Display for WorkflowTaskFailure
Source§impl Error for WorkflowTaskFailure
impl Error for WorkflowTaskFailure
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 WorkflowTaskFailure
impl RefUnwindSafe for WorkflowTaskFailure
impl Send for WorkflowTaskFailure
impl Sync for WorkflowTaskFailure
impl Unpin for WorkflowTaskFailure
impl UnwindSafe for WorkflowTaskFailure
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