sqlx_core::net

Function connect_tcp

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