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§
- task_
local - Declares task-local values.
Traits§
- Future
- A future represents an asynchronous computation, commonly obtained by use of
async. - Future
Ext - Extension methods for
Future. - Stream
- A stream of values produced asynchronously.
- Stream
Ext - Extension methods for
Stream. - _
- Read bytes asynchronously.
- _
- Read bytes asynchronously.
- _
- Seek bytes asynchronously.
- _
- Write bytes asynchronously.
- _
- Extension methods for
BufRead. - _
- Extension methods for
Read. - _
- Extension methods for
Seek. - _
- Extension methods for
Write.