pub fn boxed_stream<T, S>(stream: S) -> BoxStream<T>where
S: Stream<Item = T> + Send + 'static,
Available on non-WebAssembly only.
Expand description
Boxes a stream.
- On native platforms, it needs a
Send
requirement. - On the Web platform, it does not need a
Send
requirement.