Function try_process
pub(crate) fn try_process<I, T, R, F, U>(iter: I, f: F) -> <I::Item::Residual as Residual<U>>::TryType
where
I: Iterator<Item: Try<Output = T, Residual = R>>,
for<'a> F: FnMut(GenericShunt<'a, I, R>) -> U,
R: Residual<U>,
Process the given iterator as if it yielded the item's Try::Output
type instead. Any Try::Residuals encountered will stop the inner iterator
and be propagated back to the overall result.