mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-16 02:39:55 +00:00
iline docs
This commit is contained in:
parent
c63c43341a
commit
27f26ea430
2 changed files with 13 additions and 0 deletions
|
@ -55,4 +55,9 @@ cfg_docs! {
|
||||||
/// and must close the descriptor once it's no longer needed.
|
/// and must close the descriptor once it's no longer needed.
|
||||||
fn into_raw_fd(self) -> RawFd;
|
fn into_raw_fd(self) -> RawFd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cfg_io_safety! {
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use std::os::unix::io::{AsFd, BorrowedFd, OwnedFd};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,4 +82,12 @@ cfg_docs! {
|
||||||
/// it once it's no longer needed.
|
/// it once it's no longer needed.
|
||||||
fn into_raw_socket(self) -> RawSocket;
|
fn into_raw_socket(self) -> RawSocket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cfg_io_safety! {
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use std::os::windows::io::{
|
||||||
|
AsHandle, BorrowedHandle, OwnedHandle,
|
||||||
|
AsSocket, BorrowedSocket, OwnedSocket,
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue