parallel_map_result

Function parallel_map_result 

Source
pub fn parallel_map_result<T, U, E, F>(items: &[T], f: F) -> Result<Vec<U>, E>
where T: Sync, U: Send, E: Send, F: Fn(&T) -> Result<U, E> + Sync + Send,
Expand description

Parallel map function that handles Results