We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b85df5 commit 2e7c6c8Copy full SHA for 2e7c6c8
src/os/unix/io.rs
@@ -55,4 +55,9 @@ cfg_docs! {
55
/// and must close the descriptor once it's no longer needed.
56
fn into_raw_fd(self) -> RawFd;
57
}
58
+
59
+ cfg_io_safety! {
60
+ #[doc(inline)]
61
+ pub use std::os::unix::io::{AsFd, BorrowedFd, OwnedFd};
62
+ }
63
src/os/windows/io.rs
@@ -82,4 +82,12 @@ cfg_docs! {
82
/// it once it's no longer needed.
83
fn into_raw_socket(self) -> RawSocket;
84
85
86
87
88
+ pub use std::os::windows::io::{
89
+ AsHandle, BorrowedHandle, OwnedHandle,
90
+ AsSocket, BorrowedSocket, OwnedSocket,
91
+ };
92
93
0 commit comments