pub async fn all_ok<Ok, Err, F>(
futures: impl IntoIterator<Item = F>,
) -> Result<Vec<Ok>, Err>where
F: IntoFuture<Output = Result<Ok, Err>>,Expand description
A future that awaits on all futures at the same time and returns when all futures are Ok(_) or any future is Err(_).
This is the dynamic version of all_ok!.