Add InProgress
variant to io::ErrorKind
to support cases where OS error is libc::EINPROGRESS
While working on API that relies on io::last_os_error
I found out that kind
field of io::Error
is set to Uncategorized
which means I can't "safely" use .kind()
to check if it's a specific error, in our case libc::EINPROGRESS
Our code example that can be simplified given the addition.
Solution sketches Links and related workSent a PR of the proposed change
rust-lang/rust#101155 (review)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4