Crate async_iterator

source ·
Expand description

An async version of iterator.

This crate provides the following capabilities:

  • The base async Iterator trait implemented with async fn next
  • The ability to collect into a vec
  • 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

Structs

  • The iterator returned from AsyncIterator::lend.
  • The iterator returned from AsyncIterator::lend.
  • An iterator that maps value of another stream with a function.

Traits