pub enum RepairAction {
Terminal,
Retry {
retry_after: Option<Duration>,
},
}Expand description
What a backend allows after one of its probes failed, decided by
ProviderBackend::repair. The boot loader executes the verdict
against its state machine.
Variants§
Terminal
Auth failure forge cannot repair: the account bails and the poller re-probes it later.
Retry
Transient failure: record it, back off, and retry. Carries the
server Retry-After for a 429.
Trait Implementations§
Source§impl Debug for RepairAction
impl Debug for RepairAction
impl Eq for RepairAction
Source§impl PartialEq for RepairAction
impl PartialEq for RepairAction
impl StructuralPartialEq for RepairAction
Auto Trait Implementations§
impl Freeze for RepairAction
impl RefUnwindSafe for RepairAction
impl Send for RepairAction
impl Sync for RepairAction
impl Unpin for RepairAction
impl UnsafeUnpin for RepairAction
impl UnwindSafe for RepairAction
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.