Function iroh_net_bench::quinn::server_endpoint
source · pub fn server_endpoint(rt: &Runtime, opt: &Opt) -> (SocketAddr, Endpoint)
Expand description
Creates a server endpoint which runs on the given runtime
pub fn server_endpoint(rt: &Runtime, opt: &Opt) -> (SocketAddr, Endpoint)
Creates a server endpoint which runs on the given runtime