pub fn from_future<T, F: Future<Output = T>>(future: F) -> impl Stream<Item = T>
Creates a stream from a Future. When the Future resolves, the stream emits the value and completes.