Crate gatherr

Source
Expand description

Helpers to convert iterators of results into results of collections preserving all errors, instead of just the first as FromIterator for Result does

Structs§

Gatherr
A newtype implementing FromIterator to collect into a result preserving all error values, instead of just the first as FromIterator for Result does

Traits§

IterExt
An extension trait for iterators of Results to easily collect without the extra newtype

Functions§

gatherr
Collect all Ok or Err values from an iterator into a single Result of collections