Skip to main content

ByteStream

Type Alias ByteStream 

Source
pub type ByteStream = Pin<Box<dyn Stream<Item = Result<Bytes>> + Send>>;
Expand description

A boxed byte stream with io errors — the common currency of the codec layer.

Aliased Type§

pub struct ByteStream { /* private fields */ }