-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Read from a std::io Read
+ Seek
and output to a Write
#105
Comments
Read
, Write
and Seek
traitsRead
+ Seek
and output to a Write
Read
+ Seek
and output to a Write
Read
+ Seek
and output to a Write
I'm curious on how this could be implemented, since this feature would really help in some of my projects. |
Having this out of the box would really make use of deku easier. |
Closing, this is now in released deku. |
Reader functions can take in a
Read
+Seek
trait impl, write can write to aWrite
#100
Feature gated under "std" feature as these are std traits.
For nostd, maybe need to wait for: rust-lang/rust#48331
References:
https://doc.rust-lang.org/std/io/trait.Read.html
https://doc.rust-lang.org/std/io/trait.Write.html
https://doc.rust-lang.org/std/io/trait.Seek.html
The text was updated successfully, but these errors were encountered: