Skip to main content

download_multi

Function download_multi 

Source
pub fn download_multi<R: Puller, W: Pusher, I: Iterator<Item = ProgressEntry>>(
    puller: R,
    pusher: W,
    options: DownloadOptions<I>,
) -> DownloadResult<TokioExecutor<R, W::Error>, R::Error, W::Error>
Expand description

§Panics

当设置线程数,但 executor 意外为空时,panic