pub struct RetryCallState {
pub attempt_number: usize,
pub succeeded: bool,
}Expand description
State of a retry attempt.
Fields§
§attempt_number: usizeThe current attempt number (1-indexed).
succeeded: boolWhether the attempt succeeded.
Trait Implementations§
Source§impl Clone for RetryCallState
impl Clone for RetryCallState
Source§fn clone(&self) -> RetryCallState
fn clone(&self) -> RetryCallState
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 RetryCallState
impl RefUnwindSafe for RetryCallState
impl Send for RetryCallState
impl Sync for RetryCallState
impl Unpin for RetryCallState
impl UnwindSafe for RetryCallState
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