Skip to main content

InboundStream

Type Alias InboundStream 

Source
pub type InboundStream<M> = ServiceStream<StreamMessage<M>>;
Expand description

The inbound request stream a client/bidi-streaming handler receives: ServiceStream of StreamMessage items.

Pure sugar for the composed type — generated handler traits spell their parameters with this alias so signatures stay readable.

Aliased Type§

pub struct InboundStream<M> { /* private fields */ }