Expand description

The async prelude.

The prelude re-exports most commonly used traits and macros from this crate.

§Examples

Import the prelude with:

use async_std::prelude::*;

Macros§

Traits§

  • A future represents an asynchronous computation obtained by use of async.
  • Extension methods for Future.
  • A stream of values produced asynchronously.
  • Extension methods for Stream.
  • Read bytes asynchronously.
  • Write bytes asynchronously.
  • Extension methods for BufRead.
  • Extension methods for Read.
  • Extension methods for Seek.
  • Extension methods for Write.
  • Read bytes asynchronously.
  • Seek bytes asynchronously.