Expand description
An async version of iterator.
This crate provides the following capabilities:
- The base async
Iteratortrait implemented withasync fn next - The ability to
collectinto avec - The ability to asynchronously
mapover values in the iterator - The ability to extend
vecwith 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-iteratorprelude
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