/*******************************************************************************
*
* Copyright (c) 2025 - 2026.
* Haixing Hu, Qubit Co. Ltd.
*
* All rights reserved.
*
******************************************************************************/
//! Failure context payload.
//!
//! Failure contexts are emitted when retry limits stop the operation without a
//! successful result.
use Duration;
/// Context emitted when retry limits are exhausted.
///
/// Carries failure metadata while the final failure payload is passed
/// separately to failure listeners.