Skip to main content

ByteStream

Type Alias ByteStream 

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

Type-erased byte stream for SSE parsing.

Aliased Typeยง

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