pub(crate) fn custom_array_formatter<'a>( field: &Field, array: &'a dyn Array, ) -> Box<dyn Fn(usize) -> Result<String, String> + 'a>