mod server¶ module server¶ Single-threaded acceptor; each client is a thread sharing the bank. Functions fn serve(addr: impl AsRef<str>, capacity: usize) -> std::io::Result<()>¶ Listen on addr (host:port).