[][src]Trait collectable::TryCollect

pub trait TryCollect<A> {
    fn try_collect<B>(&mut self) -> Result<B, B::Error>
    where
        B: TryFromIterator<A>
; }

TryCollect is an extension to Iterator which allows for performing a fallible collection into a collection type.

Required methods

fn try_collect<B>(&mut self) -> Result<B, B::Error> where
    B: TryFromIterator<A>, 

Loading content...

Implementors

impl<A, T> TryCollect<A> for T where
    T: Iterator<Item = A>, 
[src]

Loading content...