Downloader

Trait Downloader 

Source
pub trait Downloader {
    type F: StdFuture<Item = (), Error = ()> + Send;

    // Required method
    fn checked_download(
        &self,
        download_url: &str,
        target_path: &Path,
        checksum: &str,
    ) -> Self::F;
}

Required Associated Types§

Source

type F: StdFuture<Item = (), Error = ()> + Send

Required Methods§

Source

fn checked_download( &self, download_url: &str, target_path: &Path, checksum: &str, ) -> Self::F

Implementors§