Make std::io::Take<R> an instance of std::io::Seek when R:std::io::Seek #37214
Labels
A-io
Area: std::io, std::fs, std::net and std::path
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
This would be particularly useful for reading file formats containing other formats.
Examples include:
(and probably many others)
In such cases, it would also be cool to have a "drain" method on std::io::Take, that would move the read cursor at the end of the Take.
The text was updated successfully, but these errors were encountered: