We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d158435 commit cf3f6f6Copy full SHA for cf3f6f6
src/socket.rs
@@ -32,9 +32,11 @@ use crate::{MaybeUninitSlice, RecvFlags};
32
/// precisely one libc or OS API call which is essentially just a "Rustic
33
/// translation" of what's below.
34
///
35
+/// ## Converting to and from other types
36
+///
37
/// This type can be freely converted into the network primitives provided by
38
/// the standard library, such as [`TcpStream`] or [`UdpSocket`], using the
-/// [`Into`] trait, see the example below.
39
+/// [`From`] trait, see the example below.
40
41
/// [`TcpStream`]: std::net::TcpStream
42
/// [`UdpSocket`]: std::net::UdpSocket
0 commit comments