pub struct DownloadOptions<I>{
pub download_chunks: I,
pub concurrent: usize,
pub retry_gap: Duration,
pub pull_timeout: Duration,
pub push_queue_cap: usize,
pub min_chunk_size: u64,
pub max_speculative: usize,
}Fields§
§download_chunks: I§concurrent: usize§retry_gap: Duration§pull_timeout: Duration§push_queue_cap: usize§min_chunk_size: u64§max_speculative: usizeTrait Implementations§
Source§impl<I> Clone for DownloadOptions<I>
impl<I> Clone for DownloadOptions<I>
Source§fn clone(&self) -> DownloadOptions<I>
fn clone(&self) -> DownloadOptions<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<I> Freeze for DownloadOptions<I>where
I: Freeze,
impl<I> RefUnwindSafe for DownloadOptions<I>where
I: RefUnwindSafe,
impl<I> Send for DownloadOptions<I>where
I: Send,
impl<I> Sync for DownloadOptions<I>where
I: Sync,
impl<I> Unpin for DownloadOptions<I>where
I: Unpin,
impl<I> UnsafeUnpin for DownloadOptions<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for DownloadOptions<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