BoxDynStream

Type Alias BoxDynStream 

pub type BoxDynStream<'a, T> = Pin<Box<dyn Stream<Item = T> + Send + 'a>>;
Expand description

An owned dynamically typed [Stream] for use in cases where you can’t statically type your result or need to add some indirection.

This type is often created by the boxed method on StreamExt. See its documentation for more.

Aliased Type§

pub struct BoxDynStream<'a, T> { /* private fields */ }