pub struct RetryAccounting {
pub attempts: u64,
pub completed_backoff: Duration,
pub elapsed: Duration,
}Expand description
Per-logical-request accounting, independent of policy retry count.
Fields§
§attempts: u64Actual HTTP sends started, including a resend after authentication refresh. Preflight/authentication failures can have zero attempts.
completed_backoff: DurationSum of requested durations of fully completed backoff waits. Interrupted waits contribute zero, even when they consumed wall-clock time.
elapsed: DurationMonotonic elapsed time since before initial authentication/preflight.
Trait Implementations§
Source§impl Clone for RetryAccounting
impl Clone for RetryAccounting
impl Copy for RetryAccounting
Source§impl Debug for RetryAccounting
impl Debug for RetryAccounting
Source§impl Default for RetryAccounting
impl Default for RetryAccounting
Source§impl<'de> Deserialize<'de> for RetryAccounting
impl<'de> Deserialize<'de> for RetryAccounting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RetryAccounting
Source§impl PartialEq for RetryAccounting
impl PartialEq for RetryAccounting
Source§impl Serialize for RetryAccounting
impl Serialize for RetryAccounting
impl StructuralPartialEq for RetryAccounting
Auto Trait Implementations§
impl Freeze for RetryAccounting
impl RefUnwindSafe for RetryAccounting
impl Send for RetryAccounting
impl Sync for RetryAccounting
impl Unpin for RetryAccounting
impl UnsafeUnpin for RetryAccounting
impl UnwindSafe for RetryAccounting
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more