pub struct RetryIf<I, A, C, N>{ /* 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, N> Future for RetryIf<I, A, C, N>
impl<I, A, C, N> Future for RetryIf<I, A, C, N>
impl<'pin, I, A, C, N> Unpin for RetryIf<I, A, C, N>
Auto Trait Implementations§
impl<I, A, C, N> !Freeze for RetryIf<I, A, C, N>
impl<I, A, C, N> !RefUnwindSafe for RetryIf<I, A, C, N>
impl<I, A, C, N> Send for RetryIf<I, A, C, N>
impl<I, A, C, N> Sync for RetryIf<I, A, C, N>
impl<I, A, C, N> !UnwindSafe for RetryIf<I, A, C, N>
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