pub struct RetryAttempt {
pub attempt: u32,
pub result: TestRunResult,
pub duration: Duration,
}Expand description
Result of a single retry attempt.
Fields§
§attempt: u32The attempt number (1-indexed, where 1 = first retry)
result: TestRunResultResult of this attempt
duration: DurationHow long this attempt took
Trait Implementations§
Source§impl Clone for RetryAttempt
impl Clone for RetryAttempt
Source§fn clone(&self) -> RetryAttempt
fn clone(&self) -> RetryAttempt
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 moreAuto Trait Implementations§
impl Freeze for RetryAttempt
impl RefUnwindSafe for RetryAttempt
impl Send for RetryAttempt
impl Sync for RetryAttempt
impl Unpin for RetryAttempt
impl UnsafeUnpin for RetryAttempt
impl UnwindSafe for RetryAttempt
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