Expand description
Structs§
- Async
Append Reader - A wrapper around an
AsyncRead
implementation that allows appending bytes from a buffer during reads. - Async
Delimiter Reader - A wrapper around an
AsyncRead
implementation that allows matching of a multi-byte delimiter. - Async
Offset Writer - A wrapper around an
AsyncWrite
implementation which tracks the current byte offset. - Async
Prepend Reader - A wrapper around an
AsyncRead
implementation that allows prepending bytes from a buffer during reads.
Constants§
- SUGGESTED_
BUFFER_ SIZE - A suggested buffer size for IO operations; equal to 16Kb.
Functions§
- copy
- A buffered alternative to
tokio::io::copy
for high-throughput use cases. - read_
bytes - Read and return a dynamic length vector of bytes from a reader which impls AsyncRead.
- read_
string - Read and return a dynamic length string from a reader which impls AsyncRead.