-
Notifications
You must be signed in to change notification settings - Fork 341
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
DoubleEndedStream extension #562
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a great start; thanks for putting in the work!
I'm kind of stuck with figuring out how and where to reexport different chunks of the API. Could someone nudge me in the right direction? |
@felipesere could you maybe share more details where you're getting stuck? What are you trying to do that isn't working? This is a rather large PR, and I don't have the information quite ready the way you do I think 😅 |
Oops, I accidentally pushed changes onto this branch, then reset the changes with a force push. It should be all good now. If anyone's wondering what had happened; sorry about that!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this looks good; left one question though. But if that's addressed I think we should be good to merge!
Still outstanding: How do I hide the concrete structs from the trait?
This is a first stab at a skeleton implementation of the
DoubleEndedStream
extension.Docs are mostly still outstanding, I'll add them in based on their Stream variation as this evolves.
I also added a dummy "Sample" implementation of
DoubleEndedStream
for a vec.While not the worst, this probably needs a better name and place,
possibly even
double_ended_stream::from_iter(...)
?Looking forward for any feedback and advice :)
#129