pub enum ErrorKind {
Show 24 variants
Configuration,
InvalidInput,
Unsupported,
Transport,
Timeout,
DeadlineExceeded,
Closed,
InvalidState,
InvalidResponse(ResponseViolation),
InvalidRequest,
Authentication,
PermissionDenied,
NotFound,
Conflict,
RequestTooLarge,
FailedPrecondition,
ResourceExhausted,
RateLimited,
QuotaExceeded,
Billing,
ServiceUnavailable,
Internal,
Cancelled,
ProviderRejected,
}Expand description
Portable failure classification. This classification does not promise retry safety.
Variants§
Configuration
Invalid provider configuration.
InvalidInput
Invalid input detected before provider execution.
Unsupported
The implementation cannot perform the requested operation.
Transport
The connection or transport failed without a more authoritative rejection.
Timeout
A local operation deadline elapsed.
DeadlineExceeded
The service reported that its deadline elapsed.
Closed
Lifecycle admission is closed.
InvalidState
The operation is incompatible with the current local state.
InvalidResponse(ResponseViolation)
The response violates a known schema or protocol invariant.
InvalidRequest
The service rejected the request as invalid.
Authentication
Authentication was rejected.
PermissionDenied
The authenticated caller lacks permission.
NotFound
A requested model or resource was not found.
Conflict
The request conflicts with current service state.
RequestTooLarge
The request exceeds the service’s size limit.
FailedPrecondition
A service precondition is not satisfied.
ResourceExhausted
Capacity or quota was exhausted; the service did not distinguish which.
RateLimited
The service explicitly identified a rate limit.
QuotaExceeded
The service explicitly identified exhausted quota.
Billing
Billing prevents execution.
The service is unavailable or overloaded.
Internal
The service reported an internal error.
Cancelled
The service reported cancellation.
ProviderRejected
A remote rejection without a recognized portable category.
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
key and return true if they are equal.