[−][src]Crate multi_try
This crate allows you to combine multiple Result
types and return either a
tuple containing all of their results, or a Vec
of any errors which occurred.
It is useful when you want to provide an error message for all errors rather
than simply returning the first error.
Generics are used to support Result<T, E>
for any types of T
and E
. The
Ok
types of the combined results are NOT required to be the same, but all of
the Err
types must be the same.
See the documentation for the MultiTry
trait for more information and an example.
Traits
MultiTry | Exposes the |