pub enum RetryState {
Idle,
Active(RetryBanner),
Failed {
reason: String,
since: Instant,
},
}Expand description
Snapshot of the retry surface for the UI to render.
Variants§
Idle
No retry in flight. Banner hidden.
Active(RetryBanner)
A request is sleeping before retrying. Show countdown banner.
Failed
All retries exhausted; show failure row until the next turn
starts. since records when the row was set so a future polish
pass can age it out automatically; today the engine clears it on
TurnStarted.
Trait Implementations§
Source§impl Clone for RetryState
impl Clone for RetryState
Source§impl Debug for RetryState
impl Debug for RetryState
Auto Trait Implementations§
impl Freeze for RetryState
impl RefUnwindSafe for RetryState
impl Send for RetryState
impl Sync for RetryState
impl Unpin for RetryState
impl UnsafeUnpin for RetryState
impl UnwindSafe for RetryState
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