Enum tokio_retry::Error
source · [−]pub enum Error<E> {
OperationError(E),
TimerError(Error),
}
Expand description
Represents the errors possible during the execution of the RetryFuture
.
Variants
OperationError(E)
TimerError(Error)
Trait Implementations
sourceimpl<E: Error> Error for Error<E>
impl<E: Error> Error for Error<E>
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl<E> !RefUnwindSafe for Error<E>
impl<E> Send for Error<E> where
E: Send,
impl<E> Sync for Error<E> where
E: Sync,
impl<E> Unpin for Error<E> where
E: Unpin,
impl<E> !UnwindSafe for Error<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more