Expand description
Core traits and types for asynchronous completion-based I/O.
See completion for utilities based on this.
Re-exports§
pub use std::io::empty;pub use std::io::repeat;pub use std::io::sink;pub use std::io::Cursor;pub use std::io::Empty;pub use std::io::Error;pub use std::io::ErrorKind;pub use std::io::IoSlice;pub use std::io::Repeat;pub use std::io::Result;pub use std::io::SeekFrom;pub use std::io::Sink;
Structs§
- Default
Write Vectored - A default implementation of
WriteVectoredFuturefor types that don’t have efficient vectored writes. - ReadBuf
- A wrapper around a byte buffer that is incrementally filled and initialized.
- Read
BufMut - A type that grants mutable access to a
ReadBuf. - Read
Cursor - Future for
readon aCursor. - Read
Repeat - Future for
readon aRepeat. - Read
Slice - Future for
readon a byte slice (&[u8]). - Seek
Cursor - Future for
seekon aCursor. - Write
Slice - Future for
writeon a byte slice (&mut [u8]). - Write
Vec - Future for
writeon aVec<u8>. - Write
Vectored Slice - Future for
write_vectoredon a byte slice (&mut [u8]). - Write
Vectored Vec - Future for
write_vectoredon aVec<u8>.
Traits§
- Async
BufRead - Read bytes from a source that has an internal buffer asynchronously.
- Async
BufRead With - Read bytes from a source that has an internal buffer asynchronously with a specific lifetime.
- Async
Read - Read bytes from a source asynchronously.
- Async
Read With - Read bytes from a source asynchronously with a specific lifetime.
- Async
Seek - A cursor which can be moved within a stream of bytes.
- Async
Seek With - A cursor which can be moved within a stream of bytes with a specific lifetime.
- Async
Write - Write bytes to a source asynchronously.
- Async
Write With - Write bytes to a source asynchronously with a specific lifetime.