Function try_for_each

Source
pub fn try_for_each<'l, T, E>(
    items: &'l [T],
    f: impl Fn(&'l T) -> Result<(), E> + Send + Sync,
) -> Result<(), E>
where T: Sync, E: Send + 'static,