Function try_array_into_with

Source
pub fn try_array_into_with<'a, T, E, U, F, const N: usize>(
    value: &'a [T; N],
    fun: F,
) -> Result<[U; N], E>
where T: 'a, F: Fn(&T) -> Result<U, E>, U: Debug,
Expand description

Note: Refactor when core::array::try_map is stable https://github.com/rust-lang/rust/issues/79711