When would it be a bad idea to use futures::stream::Stream?

I am just curious to learn when would it not be a good idea to use futures::stream::Stream ?

Assuming we have a async code base already and we need to iterate over values somehow and we have option in our hand Iterator vs Stream ?

under what scenario would it bad or not great otherwise for using Stream ?

It might depend on whether or not you are going to be using Poll on a stream.

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.