/*******************************************************************************
*
* Copyright (c) 2025 - 2026.
* Haixing Hu, Qubit Co. Ltd.
*
* All rights reserved.
*
******************************************************************************/
//! Attempt context passed to [`crate::RetryDecider`].
//!
//! The context carries executor state that helps a decider choose whether an
//! application error should be retried.
use Duration;
/// Context visible to [`crate::RetryDecider`].
///
/// Values are snapshots taken before the decider is invoked for a failed
/// attempt.