Structs

The future returned by ByteStreamReader::read_exact and ByteStreamReader::read_exact_or_eos
A helper struct to read defined lengths of data from a BytesStream

Enums

The error kind that can be returned by ByteStreamReader::read_exact and ByteStreamReader::read_exact_or_eos

Functions

Turns a tokio::io::AsyncRead asynchronous reader into a ByteStream
Turns a ByteStream into a tokio::io::AsyncRead asynchronous reader

Type Definitions

A stream of bytes (click to read more).
A packet sent in a ByteStream, which may contain either a Bytes object or an error