Trait Process
resiter
pub trait Process<T> { fn process<R: Default, E, F>(self, f: F) -> Result<R, E> where F: Fn(T) -> Result<R, E>; }
Extend any Iterator with a process method, equivalent to a fallible for_each.
process
fn process<R: Default, E, F>(self, f: F) -> Result<R, E> where F: Fn(T) -> Result<R, E>,
impl<I: Iterator> Process<<I as Iterator>::Item> for I
fn process<R: Default, E, F>(self, f: F) -> Result<R, E> where F: Fn(I::Item) -> Result<R, E>,
Process all errors with a lambda