Skip to main content

BoxStream

Type Alias BoxStream 

Source
pub type BoxStream<T> = Pin<Box<dyn Stream<Item = T> + Send>>;
Expand description

A pinned, boxed, Send-safe async stream of items.

Returned by ActorRef::expand so callers can consume streamed replies with StreamExt combinators.

Aliased Typeยง

pub struct BoxStream<T> { /* private fields */ }