pub struct SegmentedOptions {
pub num_segments: u32,
pub max_concurrent: usize,
}Expand description
Configuration for segmented downloads.
Fields§
§num_segments: u32Number of segments to download in parallel
max_concurrent: usizeMaximum concurrent downloads
Trait Implementations§
Source§impl Clone for SegmentedOptions
impl Clone for SegmentedOptions
Source§fn clone(&self) -> SegmentedOptions
fn clone(&self) -> SegmentedOptions
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 moreSource§impl Debug for SegmentedOptions
impl Debug for SegmentedOptions
Auto Trait Implementations§
impl Freeze for SegmentedOptions
impl RefUnwindSafe for SegmentedOptions
impl Send for SegmentedOptions
impl Sync for SegmentedOptions
impl Unpin for SegmentedOptions
impl UnsafeUnpin for SegmentedOptions
impl UnwindSafe for SegmentedOptions
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