Function tari_utilities::convert::try_convert_all
source · pub fn try_convert_all<T, U, I>(into_iter: I) -> Result<Vec<U>, T::Error>where
I: IntoIterator<Item = T>,
T: TryInto<U>,
Expand description
Tries to convert a series of T
s to U
s, returning an error at the first failure.