pub type RequestStream<R> = ResponseStream<R>;Expand description
Input-side type alias of ResponseStream — same struct, different name to
signal role at the call site.
The shape is identical: a (stream, ctx) pair that implements Stream,
AsyncEngineContextProvider, and AsyncEngineStream. Use RequestStream
when you’re constructing a value to feed into the Req slot of an engine,
and ResponseStream when constructing a value to emit from the Resp slot.
Functionally interchangeable.
Aliased Type§
pub struct RequestStream<R> { /* private fields */ }