Skip to main content

ByteStream

Type Alias ByteStream 

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

A boxed byte stream yielding chunks as they arrive.

Aliased Typeยง

#[repr(transparent)]
pub struct ByteStream { /* private fields */ }