gatherr

Crates.iogatherr
lib.rsgatherr
version0.1.0
sourcesrc
created_at2020-10-04 10:13:43.822247
updated_at2020-10-04 10:13:43.822247
descriptionHelpers for collecting values and errors from result iterators
homepage
repositoryhttps://github.com/Skynoodle/gatherr
max_upload_size
id295998
size6,651
(Skynoodle)

documentation

README

This library provides helpers to convert iterators of results into results of collections of values or errors. The standard library provides FromIterator for Result directly, which serves many of the same goals as this crate. However, the standard library implementation only allows collecting into a result of all values or the first error. This crate differs in that all errors are preserved in the chosen collection type, allowing more complete error reporting with similar ergonomics.

Commit count: 3

cargo fmt