Uh oh!
There was an error while loading. Please reload this page.
Document possible io::ErrorKinds of fs::open - #42925
Merged
Merged
Conversation
Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
tbu-
commented
Jun 27, 2017
ContributorAuthor
I'd also try the other |
arielb1
commented
Jun 27, 2017
Contributor
| /// might change to more specific kinds in the future. | ||
| /// | ||
| /// * `NotFound`: The specified file does not exist and neither `create` or | ||
| /// `create_new` is set, |
| /// * Invalid combinations of open options (truncate without write access, | ||
| /// no access mode set, etc) | ||
| /// circumstances. Some of these error conditions are listed here, together | ||
| /// with their [`ErrorKind`]. The mapping to `ErrorKind`s is not part of |
There was a problem hiding this comment.
Missing link to the second ErrorKind.
GuillaumeGomez
requested changes
Jun 28, 2017
GuillaumeGomez
left a comment
Member
There was a problem hiding this comment.
For every type/enum variant, could you add the corresponding url please?
tbu-
commented
Jun 28, 2017
ContributorAuthor
Added the URLs. I had to look at the HTML source in order to find the right links, should I open a rustdoc bug about that? |
GuillaumeGomez
commented
Jun 28, 2017
Member
There is a RFC incoming in order to make links easier to write. |
GuillaumeGomez
approved these changes
Jun 28, 2017
GuillaumeGomez
commented
Jun 28, 2017
Member
Thanks! @bors: r+ rollup |
bors
commented
Jun 28, 2017
Collaborator
📌 Commit 2783d0f has been approved by |
Mark-Simulacrum added a commit
to Mark-Simulacrum/rust
that referenced
this pull request
Jun 28, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
frewsxcv added a commit
to frewsxcv/rust
that referenced
this pull request
Jun 29, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
frewsxcv added a commit
to frewsxcv/rust
that referenced
this pull request
Jun 29, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
frewsxcv added a commit
to frewsxcv/rust
that referenced
this pull request
Jun 30, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
GuillaumeGomez added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Jun 30, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
GuillaumeGomez added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Jun 30, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
GuillaumeGomez added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Jun 30, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
GuillaumeGomez added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Jun 30, 2017
…r=GuillaumeGomez Document possible `io::ErrorKind`s of `fs::open` Try to make clear that this isn't an API guarantee for now, as we likely want to refine these errors in the future, e.g. `ENOSPC` "No space left on device". CC rust-lang#40322
bors added a commit
that referenced
this pull request
Jun 30, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Try to make clear that this isn't an API guarantee for now, as we likely
want to refine these errors in the future, e.g.
ENOSPC"No space lefton device".
CC #40322