again
pub async fn retry<T>(task: T) -> Result<T::Item, T::Error> where T: Task,
Retries a fallible Future with a default RetryPolicy
Future
RetryPolicy
again::retry(|| async { Ok::<u32, ()>(42) });