Dan Gohman
|
d15418586c
|
I/O safety.
Introduce `OwnedFd` and `BorrowedFd`, and the `AsFd` trait, and
implementations of `AsFd`, `From<OwnedFd>` and `From<T> for OwnedFd`
for relevant types, along with Windows counterparts for handles and
sockets.
Tracking issue:
- <https://github.com/rust-lang/rust/issues/87074>
RFC:
- <https://github.com/rust-lang/rfcs/blob/master/text/3128-io-safety.md>
|
2021-08-19 12:02:39 -07:00 |
|
Michael
|
78d3d3790a
|
Refactor windows sockets impl methods
|
2021-05-28 20:32:42 +01:00 |
|
Christiaan Dirkx
|
8aeea227da
|
Apply suggestions from review
|
2021-04-22 18:00:17 +02:00 |
|
Christiaan Dirkx
|
5b30662741
|
Rework at_exit to cleanup
|
2021-04-22 10:34:48 +02:00 |
|
Christiaan Dirkx
|
af0dec2795
|
Rename NotSupported to Unsupported
|
2021-04-18 09:29:23 +02:00 |
|
Christiaan Dirkx
|
4a15bd8eaf
|
Add and insta-stabilize std::io::ErrorKind::NotSupported
|
2021-04-18 09:29:22 +02:00 |
|
Mara Bos
|
7b71719faf
|
Use io::Error::new_const everywhere to avoid allocations.
|
2021-03-21 20:22:38 +01:00 |
|
mark
|
2c31b45ae8
|
mv std libs to library/
|
2020-07-27 19:51:13 -05:00 |
|