Struct quick_fetcher::Downloader
source · pub struct Downloader { /* private fields */ }
Implementations§
source§impl Downloader
impl Downloader
pub fn new(downloads: Vec<Download>) -> Self
pub fn new_empty() -> Self
pub fn with_progress(self, progress: Progress) -> Self
pub fn with_download(self, download: Download) -> Self
pub fn with_simultaneous_downloads(self, simultaneous: usize) -> Self
pub fn with_retries(self, retries: u32) -> Self
pub async fn start_downloads(self) -> Result<(), DownloadError>
Auto Trait Implementations§
impl Freeze for Downloader
impl !RefUnwindSafe for Downloader
impl Send for Downloader
impl Sync for Downloader
impl Unpin for Downloader
impl !UnwindSafe for Downloader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more