pub enum Retryable {
Transient,
Fatal,
}
Expand description
Classification of an error/status returned by request.
Variants§
Transient
The failure was due to something that might resolve in the future.
Fatal
Unresolvable error.
Implementations§
Trait Implementations§
impl Eq for Retryable
impl StructuralPartialEq for Retryable
Auto Trait Implementations§
impl Freeze for Retryable
impl RefUnwindSafe for Retryable
impl Send for Retryable
impl Sync for Retryable
impl Unpin for Retryable
impl UnwindSafe for Retryable
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<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.