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;
}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;
}