rustc_data_structures::sync::parallel::enabled

Function try_par_for_each_in

Source
pub fn try_par_for_each_in<T: IntoIterator + IntoParallelIterator<Item = <T as IntoIterator>::Item>, E: Send>(
    t: T,
    for_each: impl Fn(<T as IntoIterator>::Item) -> Result<(), E> + DynSync + DynSend,
) -> Result<(), E>