You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: russh/src/server/mod.rs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
//! # Writing servers
17
17
//!
18
18
//! There are two ways of accepting connections:
19
-
//! * implement the [Server](server::Server) trait and let [run](server::run) handle everything
19
+
//! * implement the [Server](server::Server) trait and let [run_on_socket](server::Server::run_on_socket)/[run_on_address](server::Server::run_on_address) handle everything
20
20
//! * accept connections yourself and pass them to [run_stream](server::run_stream)
21
21
//!
22
22
//! In both cases, you'll first need to implement the [Handler](server::Handler) trait -
0 commit comments