pub enum IndefiniteRetryOperationWhileErrorKind<E, GoneErr = Infallible> {
Gone,
GoneCheckError(GoneErr),
OperationError(Error<E>),
}Expand description
The kind of error in an IndefiniteRetryOperationWhileError.
Variants§
Gone
The gone check indicated that the remote server is permanently unavailable.
GoneCheckError(GoneErr)
The gone check itself failed.
OperationError(Error<E>)
The operation failed with a non-retryable error.
Trait Implementations§
Auto Trait Implementations§
impl<E, GoneErr = Infallible> !Freeze for IndefiniteRetryOperationWhileErrorKind<E, GoneErr>
impl<E, GoneErr = Infallible> !RefUnwindSafe for IndefiniteRetryOperationWhileErrorKind<E, GoneErr>
impl<E, GoneErr> Send for IndefiniteRetryOperationWhileErrorKind<E, GoneErr>
impl<E, GoneErr> Sync for IndefiniteRetryOperationWhileErrorKind<E, GoneErr>
impl<E, GoneErr> Unpin for IndefiniteRetryOperationWhileErrorKind<E, GoneErr>
impl<E, GoneErr> UnsafeUnpin for IndefiniteRetryOperationWhileErrorKind<E, GoneErr>where
GoneErr: UnsafeUnpin,
E: UnsafeUnpin,
impl<E, GoneErr = Infallible> !UnwindSafe for IndefiniteRetryOperationWhileErrorKind<E, GoneErr>
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> 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.