pub type RetryResult<T, E> = Result<T, RetryError<E>>;Expand description
Result alias returned by retry executor execution.
The success type T is chosen by each operation. The error type E
remains the caller’s original application error and is wrapped by
RetryError only when retry execution terminates unsuccessfully.
Aliased Type§
pub enum RetryResult<T, E> {
Ok(T),
Err(RetryError<E>),
}