mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
net: add missing types to module docs (#6482)
Signed-off-by: Alice Ryhl <[email protected]>
This commit is contained in:
@@ -13,7 +13,10 @@
|
||||
//! Unix Domain Stream Socket **(available on Unix only)**
|
||||
//! * [`UnixDatagram`] provides functionality for communication
|
||||
//! over Unix Domain Datagram Socket **(available on Unix only)**
|
||||
|
||||
//! * [`tokio::net::unix::pipe`] for FIFO pipes **(available on Unix only)**
|
||||
//! * [`tokio::net::windows::named_pipe`] for Named Pipes **(available on Windows only)**
|
||||
//!
|
||||
//! For IO resources not available in `tokio::net`, you can use [`AsyncFd`].
|
||||
//!
|
||||
//! [`TcpListener`]: TcpListener
|
||||
//! [`TcpStream`]: TcpStream
|
||||
@@ -21,6 +24,9 @@
|
||||
//! [`UnixListener`]: UnixListener
|
||||
//! [`UnixStream`]: UnixStream
|
||||
//! [`UnixDatagram`]: UnixDatagram
|
||||
//! [`tokio::net::unix::pipe`]: unix::pipe
|
||||
//! [`tokio::net::windows::named_pipe`]: windows::named_pipe
|
||||
//! [`AsyncFd`]: crate::io::unix::AsyncFd
|
||||
|
||||
mod addr;
|
||||
cfg_not_wasi! {
|
||||
|
||||
Reference in New Issue
Block a user