Skip to content
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

Implement Stream{Source, Sink} for T: Mem{Source,Sink} and add super trait bound #17

Open
LukasKalbertodt opened this issue Mar 19, 2019 · 0 comments
Labels
area:IO Area: IO category:new-feature Category: New feature status:ready Status: this issue can be worked on now
Milestone

Comments

@LukasKalbertodt
Copy link
Owner

A Mem{Source, Sink} is worth more than a Stream{SourceSink}, as in: can always do more. It would be really useful to:

  • Add the : Stream* super trait bound to Mem* traits
  • Add a default implementation of Stream* for all types T: Mem* (this implementation would likely be similar to PLYs impl: many function pointers)

This would make it possible to easily transfer data from one MemSource to a MemSink.

@LukasKalbertodt LukasKalbertodt added category:new-feature Category: New feature T-hours area:IO Area: IO status:ready Status: this issue can be worked on now labels Mar 19, 2019
@LukasKalbertodt LukasKalbertodt added this to the v0.1.0 milestone Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:IO Area: IO category:new-feature Category: New feature status:ready Status: this issue can be worked on now
Projects
None yet
Development

No branches or pull requests

1 participant