pub enum RetryHint {
NoRetry,
Retryable,
}Expand description
Guidance to callers on whether retrying the operation makes sense.
Variants§
NoRetry
Do not retry — the same request will fail again.
Retryable
Retry may succeed (transient failure).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RetryHint
impl<'de> Deserialize<'de> for RetryHint
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for RetryHint
impl Eq for RetryHint
impl StructuralPartialEq for RetryHint
Auto Trait Implementations§
impl Freeze for RetryHint
impl RefUnwindSafe for RetryHint
impl Send for RetryHint
impl Sync for RetryHint
impl Unpin for RetryHint
impl UnsafeUnpin for RetryHint
impl UnwindSafe for RetryHint
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