#[non_exhaustive]pub enum ProviderFailureKind {
Transport,
Unauthorized,
InvalidRequest,
Http,
Truncated,
Response,
}Expand description
ProviderFailure without its payload, for callers that match on the shape of the
failure rather than its contents.
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.
Implementations§
Trait Implementations§
Source§impl Clone for ProviderFailureKind
impl Clone for ProviderFailureKind
impl Copy for ProviderFailureKind
Source§impl Debug for ProviderFailureKind
impl Debug for ProviderFailureKind
Source§impl Display for ProviderFailureKind
impl Display for ProviderFailureKind
impl Eq for ProviderFailureKind
Source§impl PartialEq for ProviderFailureKind
impl PartialEq for ProviderFailureKind
impl StructuralPartialEq for ProviderFailureKind
Auto Trait Implementations§
impl Forget for ProviderFailureKind
impl Freeze for ProviderFailureKind
impl Move for ProviderFailureKind
impl RefUnwindSafe for ProviderFailureKind
impl Send for ProviderFailureKind
impl Sync for ProviderFailureKind
impl Unpin for ProviderFailureKind
impl UnsafeUnpin for ProviderFailureKind
impl UnwindSafe for ProviderFailureKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.