• Home
  • Raw
  • Download

Lines Matching refs:srv

12     let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await);  in connect_v4()  localVariable
13 let addr = assert_ok!(srv.local_addr()); in connect_v4()
19 let (socket, addr) = assert_ok!(srv.accept().await); in connect_v4()
39 let srv = assert_ok!(TcpListener::bind("[::1]:0").await); in connect_v6() localVariable
40 let addr = assert_ok!(srv.local_addr()); in connect_v6()
46 let (socket, addr) = assert_ok!(srv.accept().await); in connect_v6()
66 let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in connect_addr_ip_string() localVariable
67 let addr = assert_ok!(srv.local_addr()); in connect_addr_ip_string()
71 assert_ok!(srv.accept().await); in connect_addr_ip_string()
83 let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in connect_addr_ip_str_slice() localVariable
84 let addr = assert_ok!(srv.local_addr()); in connect_addr_ip_str_slice()
88 assert_ok!(srv.accept().await); in connect_addr_ip_str_slice()
100 let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in connect_addr_host_string() localVariable
101 let addr = assert_ok!(srv.local_addr()); in connect_addr_host_string()
105 assert_ok!(srv.accept().await); in connect_addr_host_string()
117 let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in connect_addr_ip_port_tuple() localVariable
118 let addr = assert_ok!(srv.local_addr()); in connect_addr_ip_port_tuple()
122 assert_ok!(srv.accept().await); in connect_addr_ip_port_tuple()
134 let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in connect_addr_ip_str_port_tuple() localVariable
135 let addr = assert_ok!(srv.local_addr()); in connect_addr_ip_str_port_tuple()
139 assert_ok!(srv.accept().await); in connect_addr_ip_str_port_tuple()
151 let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); in connect_addr_host_str_port_tuple() localVariable
152 let addr = assert_ok!(srv.local_addr()); in connect_addr_host_str_port_tuple()
156 assert_ok!(srv.accept().await); in connect_addr_host_str_port_tuple()