pub struct AttemptEvent {
pub attempt: u32,
pub started_unix_ms: u128,
pub finished_unix_ms: u128,
pub status: NodeStatus,
pub stdout_path: Option<String>,
pub stderr_path: Option<String>,
pub failure: Option<FailureInfo>,
pub scheduled_backoff_ms: Option<u64>,
pub retry_decision: Option<RetryDecision>,
}Expand description
Timestamped attempt evidence for a retried or single-shot node execution.
Fields§
§attempt: u32§started_unix_ms: u128§finished_unix_ms: u128§status: NodeStatus§stdout_path: Option<String>§stderr_path: Option<String>§failure: Option<FailureInfo>§scheduled_backoff_ms: Option<u64>§retry_decision: Option<RetryDecision>Trait Implementations§
Source§impl Clone for AttemptEvent
impl Clone for AttemptEvent
Source§fn clone(&self) -> AttemptEvent
fn clone(&self) -> AttemptEvent
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 AttemptEvent
impl Debug for AttemptEvent
Source§impl<'de> Deserialize<'de> for AttemptEvent
impl<'de> Deserialize<'de> for AttemptEvent
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 AttemptEvent
impl RefUnwindSafe for AttemptEvent
impl Send for AttemptEvent
impl Sync for AttemptEvent
impl Unpin for AttemptEvent
impl UnsafeUnpin for AttemptEvent
impl UnwindSafe for AttemptEvent
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