#[non_exhaustive]pub enum ProviderFailureReason {
Show 13 variants
HttpStatus,
Transport,
ResponseFailed,
Protocol,
InvalidRequest,
Authentication,
AttemptTimeout,
IdleTimeout,
RetryExhausted,
RetryBudget,
RetryDisabled,
ReplayUnsafe,
Cancelled,
}Expand description
Local reason for a failed attempt or logical request.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HttpStatus
Transport
ResponseFailed
Protocol
InvalidRequest
Authentication
AttemptTimeout
IdleTimeout
RetryExhausted
RetryBudget
RetryDisabled
ReplayUnsafe
Cancelled
Trait Implementations§
Source§impl Clone for ProviderFailureReason
impl Clone for ProviderFailureReason
impl Copy for ProviderFailureReason
Source§impl Debug for ProviderFailureReason
impl Debug for ProviderFailureReason
Source§impl<'de> Deserialize<'de> for ProviderFailureReason
impl<'de> Deserialize<'de> for ProviderFailureReason
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 Eq for ProviderFailureReason
Source§impl PartialEq for ProviderFailureReason
impl PartialEq for ProviderFailureReason
Source§impl Serialize for ProviderFailureReason
impl Serialize for ProviderFailureReason
impl StructuralPartialEq for ProviderFailureReason
Auto Trait Implementations§
impl Freeze for ProviderFailureReason
impl RefUnwindSafe for ProviderFailureReason
impl Send for ProviderFailureReason
impl Sync for ProviderFailureReason
impl Unpin for ProviderFailureReason
impl UnsafeUnpin for ProviderFailureReason
impl UnwindSafe for ProviderFailureReason
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