pub struct DownloadOptions {
pub download_chunks: Vec<ProgressEntry>,
pub concurrent: NonZeroUsize,
pub retry_gap: Duration,
pub push_queue_cap: usize,
pub min_chunk_size: NonZeroU64,
}
Fields§
§download_chunks: Vec<ProgressEntry>
§concurrent: NonZeroUsize
§retry_gap: Duration
§push_queue_cap: usize
§min_chunk_size: NonZeroU64
Trait Implementations§
Source§impl Clone for DownloadOptions
impl Clone for DownloadOptions
Source§fn clone(&self) -> DownloadOptions
fn clone(&self) -> DownloadOptions
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 Freeze for DownloadOptions
impl RefUnwindSafe for DownloadOptions
impl Send for DownloadOptions
impl Sync for DownloadOptions
impl Unpin for DownloadOptions
impl UnwindSafe for DownloadOptions
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