Type Alias BoxStream

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

A boxed static stream.

  • On native platforms, it needs a Send requirement.
  • On the Web platform, it does not need a Send requirement.

Aliased Typeยง

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