| allow_std.rs |
|
5379 |
| buf_reader.rs |
|
10292 |
| buf_writer.rs |
|
7619 |
| chain.rs |
|
3886 |
| close.rs |
|
779 |
| copy.rs |
|
1760 |
| copy_buf.rs |
|
2333 |
| copy_buf_abortable.rs |
|
4124 |
| cursor.rs |
|
6523 |
| empty.rs |
|
1422 |
| fill_buf.rs |
|
1555 |
| flush.rs |
|
792 |
| into_sink.rs |
|
2671 |
| line_writer.rs |
|
5234 |
| lines.rs |
|
1391 |
| mod.rs |
Asynchronous I/O.
This module is the asynchronous version of `std::io`. It defines four
traits, [`AsyncRead`], [`AsyncWrite`], [`AsyncSeek`], and [`AsyncBufRead`],
which mirror the `Read`, `Write`, `Seek`, and `BufRead` traits of the
standard library. However, these traits integrate with the asynchronous
task system, so that if an I/O object isn't ready for reading (or writing),
the thread is not blocked, and instead the current task is queued to be
woken when I/O is ready.
In addition, the [`AsyncReadExt`], [`AsyncWriteExt`], [`AsyncSeekExt`], and
[`AsyncBufReadExt`] extension traits offer a variety of useful combinators
for operating with asynchronous I/O objects, including ways to work with
them using futures, streams and sinks.
This module is only available when the `std` feature of this
library is activated, and it is activated by default. |
27363 |
| read.rs |
|
857 |
| read_exact.rs |
|
1273 |
| read_line.rs |
|
2558 |
| read_to_end.rs |
|
2950 |
| read_to_string.rs |
|
1921 |
| read_until.rs |
|
1805 |
| read_vectored.rs |
|
964 |
| repeat.rs |
|
1648 |
| seek.rs |
|
855 |
| sink.rs |
|
1731 |
| split.rs |
|
4246 |
| take.rs |
|
3672 |
| window.rs |
|
3431 |
| write.rs |
|
860 |
| write_all.rs |
|
1260 |
| write_all_vectored.rs |
|
6886 |
| write_vectored.rs |
|
958 |