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