Function try_for_each_owned

Source
pub fn try_for_each_owned<T, E>(
    items: Vec<T>,
    f: impl Fn(T) -> Result<(), E> + Send + Sync,
) -> Result<(), E>
where T: Send + Sync, E: Send + 'static,