mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +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)**
|
//! Unix Domain Stream Socket **(available on Unix only)**
|
||||||
//! * [`UnixDatagram`] provides functionality for communication
|
//! * [`UnixDatagram`] provides functionality for communication
|
||||||
//! over Unix Domain Datagram Socket **(available on Unix only)**
|
//! 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
|
//! [`TcpListener`]: TcpListener
|
||||||
//! [`TcpStream`]: TcpStream
|
//! [`TcpStream`]: TcpStream
|
||||||
@@ -21,6 +24,9 @@
|
|||||||
//! [`UnixListener`]: UnixListener
|
//! [`UnixListener`]: UnixListener
|
||||||
//! [`UnixStream`]: UnixStream
|
//! [`UnixStream`]: UnixStream
|
||||||
//! [`UnixDatagram`]: UnixDatagram
|
//! [`UnixDatagram`]: UnixDatagram
|
||||||
|
//! [`tokio::net::unix::pipe`]: unix::pipe
|
||||||
|
//! [`tokio::net::windows::named_pipe`]: windows::named_pipe
|
||||||
|
//! [`AsyncFd`]: crate::io::unix::AsyncFd
|
||||||
|
|
||||||
mod addr;
|
mod addr;
|
||||||
cfg_not_wasi! {
|
cfg_not_wasi! {
|
||||||
|
|||||||
Reference in New Issue
Block a user