pub struct FailExecutionArgs {
pub execution_id: ExecutionId,
pub fence: Option<LeaseFence>,
pub attempt_index: AttemptIndex,
pub failure_reason: String,
pub failure_category: String,
pub retry_policy_json: String,
pub next_attempt_policy_json: String,
pub source: CancelSource,
}Fields§
§execution_id: ExecutionId§fence: Option<LeaseFence>RFC #58.5 — fence triple. None requires source == CancelSource::OperatorOverride.
attempt_index: AttemptIndex§failure_reason: String§failure_category: String§retry_policy_json: StringJSON-encoded retry policy (from execution policy). Empty = no retries.
next_attempt_policy_json: StringJSON-encoded attempt policy for the next retry attempt.
source: CancelSourceTrait Implementations§
Source§impl Clone for FailExecutionArgs
impl Clone for FailExecutionArgs
Source§fn clone(&self) -> FailExecutionArgs
fn clone(&self) -> FailExecutionArgs
Returns a duplicate 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 FailExecutionArgs
impl Debug for FailExecutionArgs
Source§impl<'de> Deserialize<'de> for FailExecutionArgs
impl<'de> Deserialize<'de> for FailExecutionArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FailExecutionArgs
impl RefUnwindSafe for FailExecutionArgs
impl Send for FailExecutionArgs
impl Sync for FailExecutionArgs
impl Unpin for FailExecutionArgs
impl UnsafeUnpin for FailExecutionArgs
impl UnwindSafe for FailExecutionArgs
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