We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for now Stream can't write something like https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b45f2bc81394150cdae15d8a1cbcdecd
Stream
which want to return a reference type,
however, with GAT help https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b63d58ebe8d9ffa70225d5fc23fb629d
we can return the reference type
consider Stream still not in the std lib, maybe we still have chance to redesign it
The text was updated successfully, but these errors were encountered:
Since wg-async is investigating/discussing the new design of stream trait, I transfer this there.
Sorry, something went wrong.
Stream is actually in the std, which names std::async_iter::AsyncIterator. It's a nightly feature.
std::async_iter::AsyncIterator
AsyncIterator is not stable, that means still have a chance to redesign it, like the try trait
No branches or pull requests
for now
Stream
can't write something likehttps://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b45f2bc81394150cdae15d8a1cbcdecd
which want to return a reference type,
however, with GAT help
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b63d58ebe8d9ffa70225d5fc23fb629d
we can return the reference type
consider
Stream
still not in the std lib, maybe we still have chance to redesign itThe text was updated successfully, but these errors were encountered: