Expand description
Contains implementation of the CollectDispatch
trait for every enum
defined in the standard library.
Every std
enum should additionaly have a custom trait entitled CollectE
(E
being the name of the enum), which can be used as an iterator adapter.
Traitsยง
- Collect
Result - Allows to collect values from an iterator by dispatching
Ok
variants andErr
variants in two different containers.