Trait process_results::IterResult[][src]

pub trait IterResult: Iterator<Item = Result<Self::Ok, Self::Error>> + Sized {
    type Ok;
    type Error;
    fn failfast(self) -> Fallible<Self, Option<Self::Error>> { ... }
fn ignore(self) -> Fallible<Self, Ignore> { ... }
fn accumulate(self) -> Fallible<Self, Vec<Self::Error>> { ... }
fn fallible<C: ErrorCollector<Self::Error>>(self) -> Fallible<Self, C> { ... }
fn with_collector<C: ErrorCollector<Self::Error>>(
        self,
        collector: C
    ) -> Fallible<Self, C> { ... } }
Expand description

An extension trait implemented for all iterators of Result types.

Associated Types

The type wrapped by the Ok variant of the Result type

The type wrapped by the Err variant of the Result type

Provided methods

Produces a version of Fallible that stops iterating upon encountering the 1st error.

Produces a version of Fallible that keeps iterating and ignores all errors.

Produces a version of Fallible that keeps iterating and stores all errors in a Vec.

Produces a version of Fallible with a custom type of ErrorCollector

Produces a version of Fallible with an existing value of ErrorCollector

Implementors