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§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 Forget for WorkflowTaskFailure
impl Freeze for WorkflowTaskFailure
impl Move for WorkflowTaskFailure
impl RefUnwindSafe for WorkflowTaskFailure
impl Send for WorkflowTaskFailure
impl Sync for WorkflowTaskFailure
impl Unpin for WorkflowTaskFailure
impl UnsafeUnpin for WorkflowTaskFailurewhere
*const ArcInner<FailureView> is !null: UnsafeUnpin,
PhantomData<ArcInner<FailureView>>: UnsafeUnpin,
impl UnwindSafe for WorkflowTaskFailurewhere
Arc<FailureView>: 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