pub struct RetryIf<I, A, C>{ /* private fields */ }
Expand description
Future that drives multiple attempts at an action via a retry strategy. Retries are only attempted if
the Error
returned by the future satisfies a given condition.
Implementations§
Trait Implementations§
Source§impl<I, A, C> Future for RetryIf<I, A, C>
impl<I, A, C> Future for RetryIf<I, A, C>
impl<'pin, I, A, C> Unpin for RetryIf<I, A, C>
Auto Trait Implementations§
impl<I, A, C> !Freeze for RetryIf<I, A, C>
impl<I, A, C> !RefUnwindSafe for RetryIf<I, A, C>
impl<I, A, C> Send for RetryIf<I, A, C>
impl<I, A, C> Sync for RetryIf<I, A, C>
impl<I, A, C> !UnwindSafe for RetryIf<I, A, C>
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more