Read all from a futures_core::stream::Stream

How do I get a Vec<Item> from a Stream in futures_core::stream - Rust ?

You could call collect on it, or you could call next in a loop.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.