[−][src]Module completion::io
Utilities for programming with asynchronous I/O.
Requires the std
feature.
Structs
BufReader | Add buffering to any reader. |
BufWriter | Buffer the output of a writer. |
Chain | Reader for |
Copy | Future for |
CopyBuf | Future for |
Cursor | A |
DefaultWriteVectored | A default implementation of |
Empty | A reader which is always at EOF. |
Error | The error type for I/O operations of the |
FillBufBufReader | |
FillBufChain | |
FillBufTake | |
FillBufTakeUntil | |
FlushBufWriter | Future for [ |
IoSlice | A buffer type used with |
Lines | Stream for |
ReadBuf | A wrapper around a byte buffer that is incrementally filled and initialized. |
ReadBufMut | A type that grants mutable access to a |
ReadBufReader | |
ReadChain | |
ReadCursor | |
ReadExact | Future for |
ReadLine | Future for |
ReadRepeat | |
ReadSlice | Future for |
ReadTake | |
ReadTakeUntil | |
ReadToEnd | Future for |
ReadToString | Future for |
ReadUntil | Future for |
Repeat | A reader which yields one byte over and over and over and over and over and... |
SeekCursor | |
Sink | A writer which will move data into the void. |
Split | Stream for |
Take | Reader for |
TakeUntil | Reader for |
WriteAll | Future for |
WriteBufWriter | |
WriteSlice | Future for |
WriteVec | |
WriteVectoredBufWriter | Future for |
WriteVectoredSlice | Future for |
WriteVectoredVec | Future for |
Enums
ErrorKind | A list specifying general categories of I/O error. |
SeekFrom | Enumeration of possible methods to seek within an I/O object. |
Traits
AsyncBufRead | Read bytes from a source that has an internal buffer asynchronously. |
AsyncBufReadExt | Extension trait for |
AsyncBufReadWith | Read bytes from a source that has an internal buffer asynchronously with a specific lifetime. |
AsyncRead | Read bytes from a source asynchronously. |
AsyncReadExt | Extension trait for |
AsyncReadWith | Read bytes from a source asynchronously with a specific lifetime. |
AsyncSeek | A cursor which can be moved within a stream of bytes. |
AsyncSeekExt | Extension trait for |
AsyncSeekWith | A cursor which can be moved within a stream of bytes with a specific lifetime. |
AsyncWrite | Write bytes to a source asynchronously. |
AsyncWriteExt | Extension trait for |
AsyncWriteWith | Write bytes to a source asynchronously with a specific lifetime. |
Functions
copy | Copy the entire contents of a reader into a writer. |
copy_buf | Copy the entire contents of a buffered reader into a writer. |
empty | Constructs a new handle to an empty reader. |
repeat | Creates an instance of a reader that infinitely repeats one byte. |
sink | Creates an instance of a writer which will successfully consume all data. |
Type Definitions
Result | A specialized |