We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std::net::Incoming
1 parent 28ce3e8 commit 57e3b9eCopy full SHA for 57e3b9e
src/libstd/net/tcp.rs
@@ -77,6 +77,11 @@ pub struct TcpListener(net_imp::TcpListener);
77
///
78
/// This iterator will infinitely yield `Some` of the accepted connections. It
79
/// is equivalent to calling `accept` in a loop.
80
+///
81
+/// This `struct` is created by the [`incoming`] method on [`TcpListener`].
82
83
+/// [`incoming`]: struct.TcpListener.html#method.incoming
84
+/// [`TcpListener`]: struct.TcpListener.html
85
#[stable(feature = "rust1", since = "1.0.0")]
86
pub struct Incoming<'a> { listener: &'a TcpListener }
87
0 commit comments