diff options
author | hozan23 <hozan23@proton.me> | 2023-11-23 00:08:16 +0300 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2023-11-23 00:08:16 +0300 |
commit | f1b78d53d7d0009fdef8f0e220bc0c421288c514 (patch) | |
tree | 4e00a6ef8228a25debcaadf8b1e3b5ca4517eeae /net/src/connection.rs | |
parent | 52616ee63d77e1847f502c0ac92bead6eaa12ab3 (diff) |
general clean ups for the docs
Diffstat (limited to 'net/src/connection.rs')
-rw-r--r-- | net/src/connection.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/src/connection.rs b/net/src/connection.rs index 53bcdeb..950f171 100644 --- a/net/src/connection.rs +++ b/net/src/connection.rs @@ -7,10 +7,10 @@ use crate::transports::{tcp, udp, unix}; pub type Conn = Box<dyn Connection>; /// Connection is a generic network connection interface for -/// `UdpConn`, `TcpConn`, and `UnixConn`. +/// [`udp::UdpConn`], [`tcp::TcpConn`], and [`unix::UnixConn`]. /// -/// If you are familiar with the Go language, this is similar to the `Conn` -/// interface <https://pkg.go.dev/net#Conn> +/// If you are familiar with the Go language, this is similar to the +/// [Conn](https://pkg.go.dev/net#Conn) interface #[async_trait] pub trait Connection: Send + Sync { /// Returns the remote peer endpoint of this connection |