[][src]Module edisp::std_enums

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

CollectResult

Allows to collect values from an iterator by dispatching Ok variants and Err variants in two different containers.