Trait async_iterator::Extend
source · pub trait Extend<A> {
// Required method
async fn extend<T: IntoIterator<Item = A>>(&mut self, iter: T);
}
Expand description
Extend a collection with the contents of an iterator.
Required Methods§
sourceasync fn extend<T: IntoIterator<Item = A>>(&mut self, iter: T)
async fn extend<T: IntoIterator<Item = A>>(&mut self, iter: T)
Extends a collection with the contents of an iterator.