You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: quic.rs
    path of file: ./repos/iroh/iroh/src/client
    
    the code of the file until where you have to start completion: //! Type declarations and utility functions for an RPC client to an iroh node running in a separate process.

use std::{
    net::{Ipv4Addr, SocketAddr, SocketAddrV4},
    sync::Arc,
    time::Duration,
};

use quic_rpc::transport::quinn::QuinnConnection;

use crate::rpc_protocol::{NodeStatusRequest, ProviderRequest, ProviderResponse, ProviderService};

/// TODO: Change to "/iroh-rpc/1"
pub const RPC_ALPN: [u8; 17] = *b"n0/provider-rpc/1
    
pub async fn connect_raw(rpc_port: u16) -> anyhow::Result<RpcClient> {
    use anyhow::Context;
    let bind_addr = SocketAddrV4::new(Ipv4Addr::UNSPECIFIED, 0).into();
    let endpoint = create_quinn_client(bind_addr, vec![RPC_ALPN.to_vec()], false)?;
    let addr = SocketAddr::new(Ipv4Addr::LOCALHOST.into(), rpc_port);
    let server_name = "localhost".to_string();
    let connection = QuinnConnection::new(endpoint, addr, server_name);
    let client = RpcClient::new(connection);
    // Do a status request to check if the server is running.
    let _version = tokio::time::timeout(Duration::from_secs(1), client.rpc(NodeStatusRequest))
        .await
        .context("Iroh node is not running")??;
    Ok(client)
}