pub enum ProviderUsageErrorCode {
InvalidConfiguration,
ExecutableNotFound,
CredentialsUnavailable,
AuthenticationRequired,
Timeout,
Network,
ProviderResponse,
InvalidResponse,
Unsupported,
}Expand description
Stable machine-readable failure category.
Variants§
InvalidConfiguration
Profile fields are invalid.
ExecutableNotFound
Required executable is not installed or not discoverable.
Credential file is unavailable.
AuthenticationRequired
Provider rejected or could not find credentials.
Timeout
Provider did not respond before the configured deadline.
Network
Network transport failed.
ProviderResponse
Provider returned an unsuccessful response.
InvalidResponse
Response shape could not be interpreted.
Unsupported
Provider version does not expose the expected quota interface.
Trait Implementations§
Source§impl Clone for ProviderUsageErrorCode
impl Clone for ProviderUsageErrorCode
impl Copy for ProviderUsageErrorCode
Source§impl Debug for ProviderUsageErrorCode
impl Debug for ProviderUsageErrorCode
Source§impl<'de> Deserialize<'de> for ProviderUsageErrorCode
impl<'de> Deserialize<'de> for ProviderUsageErrorCode
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 ProviderUsageErrorCode
Source§impl PartialEq for ProviderUsageErrorCode
impl PartialEq for ProviderUsageErrorCode
Source§impl Serialize for ProviderUsageErrorCode
impl Serialize for ProviderUsageErrorCode
impl StructuralPartialEq for ProviderUsageErrorCode
Auto Trait Implementations§
impl Freeze for ProviderUsageErrorCode
impl RefUnwindSafe for ProviderUsageErrorCode
impl Send for ProviderUsageErrorCode
impl Sync for ProviderUsageErrorCode
impl Unpin for ProviderUsageErrorCode
impl UnsafeUnpin for ProviderUsageErrorCode
impl UnwindSafe for ProviderUsageErrorCode
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,
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
Compare self to
key and return true if they are equal.