Function connect_tcp

Source
pub async fn connect_tcp<Ws>(
    host: &str,
    port: u16,
    with_socket: Ws,
) -> Result<<Ws as WithSocket>::Output, Error>
where Ws: WithSocket,