-
Notifications
You must be signed in to change notification settings - Fork 88
Stream RFC #12
New issue
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
Comments
Doing research on this now :) |
I was working on a crate today that models the browsers History API, and found that the concept of a Under DoubleEndedStream # A stream able to yield elements from both ends.
ExactSizeStream # A stream that knows its exact length.
Extend # Extends a collection with the contents of a stream.
FromStream # Conversion from a Stream.
FusedStream # A stream that always continues to yield None when exhausted.
IntoStream # Conversion into a Stream.
Product # Trait to represent types that can be created by multiplying the elements of a stream.
Stream # An asynchronous stream of values.
Sum # Trait to represent types that can be created by summing up a stream. |
Got quite a bit more in place with #13. To do on the next iteration:
|
Some notes about attached vs detached streams and how interconversion might work (and what hurdles we know of, mostly a question of coherence) can be found in this hackmd: https://hackmd.io/gHqlQBTiSrexwb-ppRPn-A Discussion from this point on Zulip |
Some concerns that should block opening the RFC
|
Hello everyone! #15 Seems to be in decent shape. Let's list any blockers we see to opening this up on the rust-lang/rfcs repo (I want us to get more concrete about them so we can address them directly whenever possible) |
The main two things I would like to see added to the RFC:
|
Stream RFC is open: rust-lang/rfcs#2996 |
As drafted in #10
The text was updated successfully, but these errors were encountered: