Suppose I have something like this where stream is of a type that implements futures::stream::Stream.
stream
futures::stream::Stream