pub struct BatchOptions {
pub max_concurrent: usize,
pub fail_fast: bool,
pub retry_policy: BatchRetryPolicy,
}Expand description
Configuration for batch downloads.
Fields§
§max_concurrent: usizeMaximum number of concurrent downloads
fail_fast: boolWhether to fail fast on first error or continue with other downloads
retry_policy: BatchRetryPolicyRetry policy for batch operations
Trait Implementations§
Source§impl Clone for BatchOptions
impl Clone for BatchOptions
Source§fn clone(&self) -> BatchOptions
fn clone(&self) -> BatchOptions
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 BatchOptions
impl Debug for BatchOptions
Auto Trait Implementations§
impl Freeze for BatchOptions
impl RefUnwindSafe for BatchOptions
impl Send for BatchOptions
impl Sync for BatchOptions
impl Unpin for BatchOptions
impl UnsafeUnpin for BatchOptions
impl UnwindSafe for BatchOptions
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