pub trait IteratorExt<R, E>: Iterator<Item = Result<R, E>> {
// Provided method
fn try_collect_vec(self) -> Result<Vec<R>, E>
where Self: Sized { ... }
}pub trait IteratorExt<R, E>: Iterator<Item = Result<R, E>> {
// Provided method
fn try_collect_vec(self) -> Result<Vec<R>, E>
where Self: Sized { ... }
}