- A
.collect() that convert a parallel iterator of Result<T, E> into a Result<Vec<T>, E>. Currently, I have to call par_iter.collect::<Vec<Result<_, _>>>().into_iter().collect::<Result<Vec<_>, _>>() which is very ugly.
- A
.par_mut() that is an alias for .iter_mut().iter_into_par().
- A
.chain() method to join 2 parallel iterators.
Related PR: KSXGitHub/parallel-disk-usage#308
Related commit: KSXGitHub/parallel-disk-usage@8673323 (search for "TODO" in the diff)
.collect()that convert a parallel iterator ofResult<T, E>into aResult<Vec<T>, E>. Currently, I have to callpar_iter.collect::<Vec<Result<_, _>>>().into_iter().collect::<Result<Vec<_>, _>>()which is very ugly..par_mut()that is an alias for.iter_mut().iter_into_par()..chain()method to join 2 parallel iterators.Related PR: KSXGitHub/parallel-disk-usage#308
Related commit: KSXGitHub/parallel-disk-usage@8673323 (search for "TODO" in the diff)