Module prelude

Source
Expand description

The async I/O prelude.

The purpose of this module is to alleviate imports of many common I/O traits by adding a glob import to the top of I/O heavy modules:

use async_std::io::prelude::*;

Traitsยง

BufRead
Read bytes asynchronously.
BufReadExt
Extension methods for BufRead.
Read
Read bytes asynchronously.
ReadExt
Extension methods for Read.
Seek
Seek bytes asynchronously.
SeekExt
Extension methods for Seek.
Write
Write bytes asynchronously.
WriteExt
Extension methods for Write.