Function diem_retrier::retry_async
source · pub async fn retry_async<'a, I, O, T, E>(
iterable: I,
operation: O
) -> Result<T, E>where
I: IntoIterator<Item = Duration>,
O: FnMut() -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'a>>,
E: Display + Debug,