pub struct RetryReport {
pub attempts: u32,
pub retry_count: u32,
pub transport_sends: u64,
pub elapsed: Duration,
pub stop_reason: Option<RetryStopReason>,
}Expand description
Bounded operation statistics, without payloads, credentials or error text.
Fields§
§attempts: u32Started attempts, including the initial attempt and authentication replays.
retry_count: u32Started attempts after the first.
transport_sends: u64Protocol-level send dispatches, not TCP packets or WebSocket frames. HTTP includes redirect hops; request preparation failures add no dispatch.
elapsed: DurationDuration from SDK submission until this report was sampled.
stop_reason: Option<RetryStopReason>None while an operation is running, or before any operation exists.
Implementations§
Source§impl RetryReport
impl RetryReport
Sourcepub fn retry_count(&self) -> u32
pub fn retry_count(&self) -> u32
Return the number of started attempts after the first.
Sourcepub fn transport_sends(&self) -> u64
pub fn transport_sends(&self) -> u64
Return the number of protocol-level send dispatches.
Sourcepub fn stop_reason(&self) -> Option<RetryStopReason>
pub fn stop_reason(&self) -> Option<RetryStopReason>
Return the terminal scheduling reason, or None while running.
Trait Implementations§
Source§impl Clone for RetryReport
impl Clone for RetryReport
Source§impl Debug for RetryReport
impl Debug for RetryReport
Source§impl Default for RetryReport
impl Default for RetryReport
impl Eq for RetryReport
Source§impl PartialEq for RetryReport
impl PartialEq for RetryReport
impl StructuralPartialEq for RetryReport
Auto Trait Implementations§
impl Forget for RetryReport
impl Freeze for RetryReport
impl Move for RetryReport
impl RefUnwindSafe for RetryReport
impl Send for RetryReport
impl Sync for RetryReport
impl Unpin for RetryReport
impl UnsafeUnpin for RetryReport
impl UnwindSafe for RetryReport
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