pub enum AttemptRetryRecovery {
NoRetryNeeded,
DoNotRetry,
Backoff,
ChangeConfiguration,
RetryAnotherEligibleDevice,
RecoverBackend,
Indeterminate,
}Expand description
Closed recovery action advised by one sealed attempt report.
This is advice only. The engine never retries an attempt from this value;
callers must satisfy the paired AttemptRetryPrerequisite before they
choose to submit a new attempt.
Variants§
NoRetryNeeded
The attempt succeeded and requires no further recovery action.
DoNotRetry
The attempt was cancelled, dropped, or panicked; do not retry it from this report.
Backoff
Retry may be considered only after bounded capacity evidence supports waiting for the service to drain.
ChangeConfiguration
The attempt cannot succeed until its query, capability selection, or configured resource limits change.
RetryAnotherEligibleDevice
Retry may be considered only on another eligible device after the failed device has been retained in quarantine.
RecoverBackend
The backend must recover before a new attempt can be considered.
Indeterminate
The bounded terminal report cannot truthfully recommend recovery.
Implementations§
Trait Implementations§
Source§impl Clone for AttemptRetryRecovery
impl Clone for AttemptRetryRecovery
impl Copy for AttemptRetryRecovery
Source§impl Debug for AttemptRetryRecovery
impl Debug for AttemptRetryRecovery
Source§impl<'de> Deserialize<'de> for AttemptRetryRecovery
impl<'de> Deserialize<'de> for AttemptRetryRecovery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AttemptRetryRecovery
Source§impl PartialEq for AttemptRetryRecovery
impl PartialEq for AttemptRetryRecovery
Source§impl Serialize for AttemptRetryRecovery
impl Serialize for AttemptRetryRecovery
impl StructuralPartialEq for AttemptRetryRecovery
Auto Trait Implementations§
impl Freeze for AttemptRetryRecovery
impl RefUnwindSafe for AttemptRetryRecovery
impl Send for AttemptRetryRecovery
impl Sync for AttemptRetryRecovery
impl Unpin for AttemptRetryRecovery
impl UnsafeUnpin for AttemptRetryRecovery
impl UnwindSafe for AttemptRetryRecovery
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more