qubit-retry 0.7.2

Retry module, providing a feature-complete, type-safe retry management system with support for multiple delay strategies and event listeners
Documentation
/*******************************************************************************
 *
 *    Copyright (c) 2025 - 2026.
 *    Haixing Hu, Qubit Co. Ltd.
 *
 *    All rights reserved.
 *
 ******************************************************************************/
//! Terminal retry-flow error reasons.

use serde::{Deserialize, Serialize};

/// Reason why the whole retry flow stopped with an error.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
pub enum RetryErrorReason {
    /// A failure listener explicitly aborted the retry flow.
    Aborted,
    /// No attempts remain.
    AttemptsExceeded,
    /// The total elapsed-time budget was exhausted.
    MaxElapsedExceeded,
}