async fn download_file(
        req: reqwest::RequestBuilder,
        output: impl AsRef<Path>,
    ) -> anyhow::Result<PathBuf> {
        Ok(Self::write_resp(Self::request(req).await?, output).await?)
    }
/// Write the request's response to the provided output destination.
Write the request's response to the provided output destination.
Write the request ' s response to the provided output destination .
async fn download_file(
        req: reqwest::RequestBuilder,
        output: impl AsRef<Path>,
    ) -> anyhow::Result<PathBuf> {
        Ok(Self::write_resp(Self::request(req).await?, output).await?)
    }
async fn download_file ( req : reqwest :: RequestBuilder , output : impl AsRef < Path > , ) -> anyhow :: Result < PathBuf > { Ok ( Self :: write_resp ( Self :: request ( req ) . await ? , output ) . await ? ) }
Write the request's response to the provided output destination.
Write the request ' s response to the provided output destination .
req
reqwest::RequestBuilder
output
impl AsRef<Path>
req
reqwest::RequestBuilder
output
impl AsRef<Path>