pub enum RetryError {
All,
Cancelled,
Timeout,
Generic,
}Expand description
Which errors should be retried.
Variants§
All
Retry on any error.
Cancelled
Retry only on cancellation.
Timeout
Retry only on timeout.
Generic
Retry only on generic errors.
Trait Implementations§
Source§impl Clone for RetryError
impl Clone for RetryError
Source§fn clone(&self) -> RetryError
fn clone(&self) -> RetryError
Returns a copy 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 RetryError
impl Debug for RetryError
impl Copy for RetryError
Auto Trait Implementations§
impl Freeze for RetryError
impl RefUnwindSafe for RetryError
impl Send for RetryError
impl Sync for RetryError
impl Unpin for RetryError
impl UnwindSafe for RetryError
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