mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
feedback
This commit is contained in:
@@ -254,7 +254,7 @@ impl<T: AsRawFd> AsyncFd<T> {
|
||||
/// [unstable]: crate#unstable-features
|
||||
#[track_caller]
|
||||
#[cfg(all(target_os = "linux", tokio_unstable))]
|
||||
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)), doc(cfg(target_os = "linux")))]
|
||||
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, target_os = "linux"))))]
|
||||
pub fn with_epoll_flags(inner: T, flags: u32) -> io::Result<Self>
|
||||
where
|
||||
T: AsRawFd,
|
||||
|
||||
@@ -251,7 +251,7 @@ impl TcpListener {
|
||||
/// [unstable]: crate#unstable-features
|
||||
#[track_caller]
|
||||
#[cfg(all(target_os = "linux", tokio_unstable))]
|
||||
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)), doc(cfg(target_os = "linux")))]
|
||||
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, target_os = "linux"))))]
|
||||
pub fn from_std_with_epoll_flags(
|
||||
listener: net::TcpListener,
|
||||
flags: u32,
|
||||
|
||||
@@ -125,7 +125,7 @@ impl UnixListener {
|
||||
/// [unstable]: crate#unstable-features
|
||||
#[track_caller]
|
||||
#[cfg(all(target_os = "linux", tokio_unstable))]
|
||||
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)), doc(cfg(target_os = "linux")))]
|
||||
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, target_os = "linux"))))]
|
||||
pub fn from_std_with_epoll_flags(
|
||||
listener: net::UnixListener,
|
||||
flags: u32,
|
||||
|
||||
Reference in New Issue
Block a user