Type Alias futures::prelude::stream::BoxStream

source ·
pub type BoxStream<'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.

Aliased Type§

struct BoxStream<'a, T> {}

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes