/*******************************************************************************
*
* Copyright (c) 2025 - 2026.
* Haixing Hu, Qubit Co. Ltd.
*
* All rights reserved.
*
******************************************************************************/
//! Internal failed-attempt control flow.
//!
//! `FailureAction` is the private return type used by the retry executor after a
//! failed attempt has been classified and checked against retry limits.
use Duration;
use crate::;
/// Action selected after handling one failed attempt.
///
/// The generic parameter `E` is the caller's application error type preserved
/// inside attempt failures and terminal retry errors.
pub