Trait async_iterator::Extend
source · [−]pub trait Extend<A> {
fn extend<T: IntoIterator<Item = A>>(
&mut self,
iter: T
) -> impl Future<Output = ()>;
}
Expand description
Extend a collection with the contents of an iterator.
Required Methods
sourcefn extend<T: IntoIterator<Item = A>>(
&mut self,
iter: T
) -> impl Future<Output = ()>
fn extend<T: IntoIterator<Item = A>>(
&mut self,
iter: T
) -> impl Future<Output = ()>
Extends a collection with the contents of an iterator.