pub struct RetryResult {
pub attempts: usize,
pub duration: Duration,
}Expand description
Result of a successful retry assertion
Fields§
§attempts: usizeNumber of attempts before success
duration: DurationTotal duration of all attempts
Trait Implementations§
Source§impl Clone for RetryResult
impl Clone for RetryResult
Source§fn clone(&self) -> RetryResult
fn clone(&self) -> RetryResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RetryResult
impl Debug for RetryResult
impl Copy for RetryResult
Auto Trait Implementations§
impl Freeze for RetryResult
impl RefUnwindSafe for RetryResult
impl Send for RetryResult
impl Sync for RetryResult
impl Unpin for RetryResult
impl UnsafeUnpin for RetryResult
impl UnwindSafe for RetryResult
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