pub struct RetryResult<T> {
pub result: T,
pub attempts_made: u32,
pub total_retry_time: u64,
}Expand description
Result of a retry operation with context
Fields§
§result: TThe successful result
attempts_made: u32Number of retry attempts made
total_retry_time: u64Total time spent retrying (in seconds)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for RetryResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for RetryResult<T>where
T: RefUnwindSafe,
impl<T> Send for RetryResult<T>where
T: Send,
impl<T> Sync for RetryResult<T>where
T: Sync,
impl<T> Unpin for RetryResult<T>where
T: Unpin,
impl<T> UnwindSafe for RetryResult<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more