gatherr 0.1.0

Helpers for collecting values and errors from result iterators
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented3 out of 4 items with examples
  • Size
  • Source code size: 6.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.43 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Skynoodle/gatherr
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Skynoodle

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.