pub trait ToVecResult<T, E> {
// Required method
fn to_vec_result(self) -> Result<Vec<T>, E>;
}
Expand description
to_vec_result() method on iterators
Required Methods§
Sourcefn to_vec_result(self) -> Result<Vec<T>, E>
fn to_vec_result(self) -> Result<Vec<T>, E>
this collects an iterator of Result<T,E>
into a result of Result<Vec<T>,E>