pub struct RetryNotice {
pub attempt: u32,
pub delay_ms: u64,
pub reason: String,
}Expand description
BP-7 (catalog §4a “Auto-retry on transient provider errors”): one transient failure the transport retried.
The retry loop itself is unchanged and pre-existing; before BP-7 it was
simply SILENT — the ledger row’s residue was “no retry record is
persisted, so a retried request is invisible to the event stream, the
transcript, and --trace”. A notice is recorded the moment the loop
decides to sleep and try again.
Fields§
§attempt: u320-based index of the attempt that FAILED (attempt 0 is the first try).
delay_ms: u64Backoff slept before the next attempt, milliseconds.
reason: StringOne-line reason — an HTTP status line or a transport error.
Trait Implementations§
Source§impl Clone for RetryNotice
impl Clone for RetryNotice
Source§fn clone(&self) -> RetryNotice
fn clone(&self) -> RetryNotice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetryNotice
impl Debug for RetryNotice
impl Eq for RetryNotice
Source§impl PartialEq for RetryNotice
impl PartialEq for RetryNotice
impl StructuralPartialEq for RetryNotice
Auto Trait Implementations§
impl Freeze for RetryNotice
impl RefUnwindSafe for RetryNotice
impl Send for RetryNotice
impl Sync for RetryNotice
impl Unpin for RetryNotice
impl UnsafeUnpin for RetryNotice
impl UnwindSafe for RetryNotice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.