pub enum ServiceErrorKind {
Auth,
Throttled,
Forbidden,
NotFound,
Validation,
Internal,
Unknown,
}
Variantsยง
Implementationsยง
Sourceยงimpl ServiceErrorKind
impl ServiceErrorKind
Sourcepub fn is_retryable(self) -> bool
pub fn is_retryable(self) -> bool
Returns true if the error usually merits retrying the request.
Trait Implementationsยง
Sourceยงimpl Clone for ServiceErrorKind
impl Clone for ServiceErrorKind
Sourceยงfn clone(&self) -> ServiceErrorKind
fn clone(&self) -> ServiceErrorKind
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for ServiceErrorKind
impl Debug for ServiceErrorKind
Sourceยงimpl Display for ServiceErrorKind
impl Display for ServiceErrorKind
Sourceยงimpl PartialEq for ServiceErrorKind
impl PartialEq for ServiceErrorKind
impl Copy for ServiceErrorKind
impl Eq for ServiceErrorKind
impl StructuralPartialEq for ServiceErrorKind
Auto Trait Implementationsยง
impl Freeze for ServiceErrorKind
impl RefUnwindSafe for ServiceErrorKind
impl Send for ServiceErrorKind
impl Sync for ServiceErrorKind
impl Unpin for ServiceErrorKind
impl UnwindSafe for ServiceErrorKind
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<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Sourceยงimpl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Sourceยงfn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.