async fn run_client(endpoint: &Endpoint, server_addr: SocketAddr) {
    let connect = endpoint.connect(&server_addr, "localhost").unwrap();
    let quinn::NewConnection { connection, .. } = connect.await.unwrap();
    println!("[client] connected: addr={}", connection.remote_address());
}
/// Attempt QUIC connection with the given server address.
Attempt QUIC connection with the given server address.
Attempt QUIC connection with the given server address .
async fn run_client(endpoint: &Endpoint, server_addr: SocketAddr) {
    let connect = endpoint.connect(&server_addr, "localhost").unwrap();
    let quinn::NewConnection { connection, .. } = connect.await.unwrap();
    println!("[client] connected: addr={}", connection.remote_address());
}
async fn run_client ( endpoint : & Endpoint , server_addr : SocketAddr ) { let connect = endpoint . connect ( & server_addr , " " ) . unwrap ( ) ; let quinn :: NewConnection { connection , .. } = connect . await . unwrap ( ) ; println ! ( " " connection remote_address ( ) ) ; }
Attempt QUIC connection with the given server address.
Attempt QUIC connection with the given server address .
endpoint
&Endpoint
server_addr
SocketAddr