Implement Seek for io::Empty #78029
Labels
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
You can create an empty io-reader with
std::io::empty()
, which returns anstd::io::Empty
. ThatEmpty
doesn't implement theSeek
trait. However, I don't see any reason why it shouldn't.The text was updated successfully, but these errors were encountered: