pub struct DownloadOptions<'a, I: Iterator<Item = &'a ProgressEntry>> {
pub download_chunks: I,
pub concurrent: usize,
pub retry_gap: Duration,
pub push_queue_cap: usize,
pub min_chunk_size: u64,
}Fields§
§download_chunks: I§concurrent: usize§retry_gap: Duration§push_queue_cap: usize§min_chunk_size: u64Trait Implementations§
Source§impl<'a, I: Clone + Iterator<Item = &'a ProgressEntry>> Clone for DownloadOptions<'a, I>
impl<'a, I: Clone + Iterator<Item = &'a ProgressEntry>> Clone for DownloadOptions<'a, I>
Source§fn clone(&self) -> DownloadOptions<'a, I>
fn clone(&self) -> DownloadOptions<'a, I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a, I> Freeze for DownloadOptions<'a, I>where
I: Freeze,
impl<'a, I> RefUnwindSafe for DownloadOptions<'a, I>where
I: RefUnwindSafe,
impl<'a, I> Send for DownloadOptions<'a, I>where
I: Send,
impl<'a, I> Sync for DownloadOptions<'a, I>where
I: Sync,
impl<'a, I> Unpin for DownloadOptions<'a, I>where
I: Unpin,
impl<'a, I> UnwindSafe for DownloadOptions<'a, I>where
I: UnwindSafe,
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