pub enum RetryClassification {
Retryable,
NotRetryable,
RepairNeeded,
UserActionNeeded,
HostConfigurationNeeded,
}Expand description
Enumerates the finite retry classification cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Retryable
Use this variant when the contract needs to represent retryable; selecting it has no side effect by itself.
NotRetryable
Use this variant when the contract needs to represent not retryable; selecting it has no side effect by itself.
RepairNeeded
Use this variant when the contract needs to represent repair needed; selecting it has no side effect by itself.
UserActionNeeded
Use this variant when the contract needs to represent user action needed; selecting it has no side effect by itself.
HostConfigurationNeeded
Use this variant when the contract needs to represent host configuration needed; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for RetryClassification
impl Clone for RetryClassification
Source§fn clone(&self) -> RetryClassification
fn clone(&self) -> RetryClassification
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 RetryClassification
impl Debug for RetryClassification
Source§impl<'de> Deserialize<'de> for RetryClassification
impl<'de> Deserialize<'de> for RetryClassification
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
Source§impl PartialEq for RetryClassification
impl PartialEq for RetryClassification
Source§fn eq(&self, other: &RetryClassification) -> bool
fn eq(&self, other: &RetryClassification) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RetryClassification
impl Serialize for RetryClassification
impl Copy for RetryClassification
impl Eq for RetryClassification
impl StructuralPartialEq for RetryClassification
Auto Trait Implementations§
impl Freeze for RetryClassification
impl RefUnwindSafe for RetryClassification
impl Send for RetryClassification
impl Sync for RetryClassification
impl Unpin for RetryClassification
impl UnsafeUnpin for RetryClassification
impl UnwindSafe for RetryClassification
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