Skip to content

Implement Seek for io::Empty #78029

Closed
@oberien

Description

@oberien

You can create an empty io-reader with std::io::empty(), which returns an std::io::Empty. That Empty doesn't implement the Seek trait. However, I don't see any reason why it shouldn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions