pub enum RetryEvent {
AttemptStarted {
attempt: u32,
},
AttemptFinished {
attempt: u32,
final_attempt: bool,
},
RetryScheduled {
attempt: u32,
delay: Duration,
},
Completed(RetryReport),
}Expand description
Bounded, payload-free retry lifecycle observations.
Variants§
Trait Implementations§
Source§impl Clone for RetryEvent
impl Clone for RetryEvent
Source§impl Debug for RetryEvent
impl Debug for RetryEvent
impl Eq for RetryEvent
Source§impl PartialEq for RetryEvent
impl PartialEq for RetryEvent
impl StructuralPartialEq for RetryEvent
Auto Trait Implementations§
impl Freeze for RetryEvent
impl RefUnwindSafe for RetryEvent
impl Send for RetryEvent
impl Sync for RetryEvent
impl Unpin for RetryEvent
impl UnsafeUnpin for RetryEvent
impl UnwindSafe for RetryEvent
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