pub enum RetryableError {
Transient,
Permanent,
}Expand description
Classifies whether an error is retryable.
Variants§
Transient
The error is retryable (transient failure).
Permanent
The error is permanent — do not retry.
Trait Implementations§
Source§impl Clone for RetryableError
impl Clone for RetryableError
Source§fn clone(&self) -> RetryableError
fn clone(&self) -> RetryableError
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 RetryableError
impl Debug for RetryableError
Source§impl PartialEq for RetryableError
impl PartialEq for RetryableError
impl Copy for RetryableError
impl Eq for RetryableError
impl StructuralPartialEq for RetryableError
Auto Trait Implementations§
impl Freeze for RetryableError
impl RefUnwindSafe for RetryableError
impl Send for RetryableError
impl Sync for RetryableError
impl Unpin for RetryableError
impl UnwindSafe for RetryableError
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