Expand description
An async version of iterator.
This crate provides the following capabilities:
- The base async
Iterator
trait implemented withasync fn next
- The ability to
collect
into avec
- The ability to asynchronously
map
over values in the iterator - The ability to extend
vec
with an async iterator
§Minimum Supported Rust Version
This code should be considered unstable and only works on recent versions of nightly.
§Trait definitions
All traits make use of the async_trait
annotation. In order to implement
the traits, use async_trait
.
Modules§
- prelude
- The
async-iterator
prelude
Structs§
- Lend
- The iterator returned from
AsyncIterator::lend
. - LendMut
- The iterator returned from
AsyncIterator::lend
. - Map
- An iterator that maps value of another stream with a function.
Traits§
- From
Iterator - Conversion from an
Iterator
. - Into
Iterator - Conversion into an
Iterator
. - Iterator
- An interface for dealing with iterators.
- Lending
Iterator - An interface for dealing with iterators which borrow from
Self