pub enum SearchProviderErrorCode {
InvalidConfiguration,
InvalidRequest,
Authentication,
RateLimited,
QuotaExceeded,
Timeout,
Transport,
Unavailable,
MalformedResponse,
Cancelled,
}Expand description
Stable failure category returned by a client search backend.
Variants§
InvalidConfiguration
Backend or credential configuration is invalid.
InvalidRequest
The backend rejected the normalized request.
Authentication
Credentials were rejected.
RateLimited
The backend rate limit was reached.
QuotaExceeded
The account quota or plan limit was reached.
Timeout
The backend timed out.
Transport
The backend could not be reached.
The backend was temporarily unavailable.
MalformedResponse
The backend returned an invalid or oversized success response.
Cancelled
Cooperative cancellation was requested.
Trait Implementations§
Source§impl Clone for SearchProviderErrorCode
impl Clone for SearchProviderErrorCode
impl Copy for SearchProviderErrorCode
Source§impl Debug for SearchProviderErrorCode
impl Debug for SearchProviderErrorCode
impl Eq for SearchProviderErrorCode
Source§impl PartialEq for SearchProviderErrorCode
impl PartialEq for SearchProviderErrorCode
impl StructuralPartialEq for SearchProviderErrorCode
Auto Trait Implementations§
impl Freeze for SearchProviderErrorCode
impl RefUnwindSafe for SearchProviderErrorCode
impl Send for SearchProviderErrorCode
impl Sync for SearchProviderErrorCode
impl Unpin for SearchProviderErrorCode
impl UnsafeUnpin for SearchProviderErrorCode
impl UnwindSafe for SearchProviderErrorCode
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
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
Compare self to
key and return true if they are equal.