Trait trie_rs::try_collect::TryCollect
source · pub trait TryCollect: Iterator {
// Provided method
fn try_collect<C, M>(self) -> Result<C, C::Error>
where C: TryFromIterator<Self::Item, M>,
Self: Sized { ... }
}
Expand description
Try to collect from an iterator; operation may fail.
Provided Methods§
sourcefn try_collect<C, M>(self) -> Result<C, C::Error>
fn try_collect<C, M>(self) -> Result<C, C::Error>
Use this iterator to collect into a container C
, may fail.