pub enum RetryClientError {
ProviderError(ProviderError),
TimeoutError,
SerdeJson(Error),
}Expand description
Error thrown when:
- Internal client throws an error we do not wish to try to recover from.
- Params serialization failed.
- Request timed out i.e. max retries were already made.
Variants
Trait Implementations
sourceimpl Debug for RetryClientError
impl Debug for RetryClientError
sourceimpl Display for RetryClientError
impl Display for RetryClientError
sourceimpl Error for RetryClientError
impl Error for RetryClientError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<RetryClientError> for ProviderError
impl From<RetryClientError> for ProviderError
sourcefn from(src: RetryClientError) -> Self
fn from(src: RetryClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for RetryClientError
impl Send for RetryClientError
impl Sync for RetryClientError
impl Unpin for RetryClientError
impl !UnwindSafe for RetryClientError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more