pub trait FromIterator<A>: Sized {
    fn from_iter<'async_trait, T>(
        iter: T
    ) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>>
   where
        T: 'async_trait + IntoIterator<Item = A>,
        Self: 'async_trait
; }
Expand description

Conversion from an Iterator.

Required Methods

Creates a value from an iterator.

Implementations on Foreign Types

Implementors