Map EINPROGRESS to io::ErrorKind::WouldBlock#101155
Map EINPROGRESS to io::ErrorKind::WouldBlock#101155aviramha wants to merge 3 commits intorust-lang:masterfrom
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @thomcc (or someone else) soon. Please see the contribution instructions for more information. |
thomcc
left a comment
There was a problem hiding this comment.
Please read the about adding new functionality to the stdlib: https://std-dev-guide.rust-lang.org/feature-lifecycle/summary.html. In particular, this needs an API change proposal, as described here: https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html
However, this seems redundant with ErrorKind::WouldBlock, so you'll need to explain how this is different and worth adding.
library/std/src/io/error.rs
Outdated
|
|
||
| /// The operation was partially sucessful and needs to be checked | ||
| /// later on due to not blocking | ||
| InProgress, |
There was a problem hiding this comment.
You need an unstable annotation. Something like #[unstable(feature = "io_error_inprogress", issue = "none")]
|
@rustbot author |
This comment has been minimized.
This comment has been minimized.
Thanks for the review, followed your lead and opened an issue - rust-lang/libs-team#92. Let's discuss there? |
|
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
|
@rustbot label -S-waiting-on-author +S-waiting-on-review |
|
The updated PR looks fine to me, although I'm unsure if this needs API approval. I've nominated it to sort that out. |
|
|
|
Do you think we should add an |
|
Yes, I think we should. |
|
Closing this while we figure out what we want here: rust-lang/libs-team#92 :) |
No description provided.