iced_futures

Function boxed_stream

source
pub fn boxed_stream<T, S>(stream: S) -> BoxStream<T>
where S: Stream<Item = T> + Send + 'static,
Expand description

Boxes a stream.

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