pub struct RetryLog<'a> { /* private fields */ }Expand description
Names the operation a retry engine is driving and carries the logger that surfaces per-attempt failures.
A required parameter on every retry engine — not an optional builder — so a silent retry is unrepresentable: a backoff ladder can sleep for many minutes (10 attempts × 5m cap), and an operator watching a run must be able to tell “waiting on a transient failure” from “hung”.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RetryLog<'a>
impl<'a> RefUnwindSafe for RetryLog<'a>
impl<'a> Send for RetryLog<'a>
impl<'a> Sync for RetryLog<'a>
impl<'a> Unpin for RetryLog<'a>
impl<'a> UnsafeUnpin for RetryLog<'a>
impl<'a> UnwindSafe for RetryLog<'a>
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