[][src]Trait edisp::std_enums::CollectResult

pub trait CollectResult<A, B> {
    fn dispatch_result<C: Default + Extend<A>, D: Default + Extend<B>>(
        self
    ) -> (C, D); }

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

Required methods

fn dispatch_result<C: Default + Extend<A>, D: Default + Extend<B>>(
    self
) -> (C, D)

Collects values and dispatch them.

Loading content...

Implementors

impl<T, E, I: Iterator<Item = Result<T, E>>> CollectResult<T, E> for I[src]

Loading content...