pub type GenerationStream = Pin<Box<dyn Stream<Item = Result<GenerationResponse, Error>> + Send>>;Expand description
Type alias for streaming generation responses
A pinned, boxed stream that yields GenerationResponse chunks as they arrive
from the API. Used for streaming content generation to receive partial results
before the complete response is ready.
Aliased Typeยง
#[repr(transparent)]pub struct GenerationStream { /* private fields */ }