Open
Description
See this reddit post where the question was "How can File::open
fail?" and the information is sort of there in the docs, but I was reduced to guessing io::ErrorKind
variants from the text description of errors. Similar to how Unix man pages list exactly which errno
values are possible, the std::io
functions should list the exact variants they might return.
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsCategory: An issue proposing an enhancement or a PR with one.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Medium priorityRelevant to the library API team, which will review and decide on the PR/issue.