Function abstio::download::download_to_file[][src]

pub async fn download_to_file<I1: AsRef<str>, I2: AsRef<str>>(
    url: I1,
    path: I2
) -> Result<()>

Downloads a file, printing progress to STDOUT. This must be called with a tokio runtime somewhere.