[][src]Trait resiter::Process

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.

Required methods

fn process<R: Default, E, F>(self, f: F) -> Result<R, E> where
    F: Fn(T) -> Result<R, E>, 

Loading content...

Implementors

impl<I: Iterator> Process<<I as Iterator>::Item> for I[src]

fn process<R: Default, E, F>(self, f: F) -> Result<R, E> where
    F: Fn(I::Item) -> Result<R, E>, 
[src]

Process all errors with a lambda

Loading content...