pub struct AttemptOutcomeRecord {
pub run_id: RunId,
pub attempt_id: AttemptId,
pub response: ExecutorResponse,
pub elapsed: Duration,
pub timeout_classification: TimeoutClassification,
pub timeout_enforcement: TimeoutEnforcementReport,
pub retry_decision_input: RetryDecisionInput,
pub retry_decision: Result<RetryDecision, RetryDecisionError>,
pub consumption: Vec<BudgetConsumption>,
}Expand description
Terminal record for one completed attempt execution.
Fields§
§run_id: RunIdRun identifier propagated through execution boundary.
attempt_id: AttemptIdAttempt identifier propagated through execution boundary.
response: ExecutorResponseDeterministic attempt response classification.
elapsed: DurationMeasured attempt execution duration.
timeout_classification: TimeoutClassificationExplicit timeout classification with stable reason-code semantics.
timeout_enforcement: TimeoutEnforcementReportTimeout enforcement report including cadence-aware cooperation classification.
retry_decision_input: RetryDecisionInputRetry input derived from this exact attempt outcome.
retry_decision: Result<RetryDecision, RetryDecisionError>Retry transition decision derived via crate::retry::decide_retry_transition.
An error indicates invalid attempt-counter inputs (for example N + 1
attempts beyond the configured hard cap).
consumption: Vec<BudgetConsumption>Resource consumption reported by the handler for this attempt.
Trait Implementations§
Source§impl Clone for AttemptOutcomeRecord
impl Clone for AttemptOutcomeRecord
Source§fn clone(&self) -> AttemptOutcomeRecord
fn clone(&self) -> AttemptOutcomeRecord
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 AttemptOutcomeRecord
impl Debug for AttemptOutcomeRecord
Source§impl PartialEq for AttemptOutcomeRecord
impl PartialEq for AttemptOutcomeRecord
impl Eq for AttemptOutcomeRecord
impl StructuralPartialEq for AttemptOutcomeRecord
Auto Trait Implementations§
impl Freeze for AttemptOutcomeRecord
impl RefUnwindSafe for AttemptOutcomeRecord
impl Send for AttemptOutcomeRecord
impl Sync for AttemptOutcomeRecord
impl Unpin for AttemptOutcomeRecord
impl UnsafeUnpin for AttemptOutcomeRecord
impl UnwindSafe for AttemptOutcomeRecord
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