pub enum BatchRetryPolicy {
RetryCount(u32),
Infinite,
None,
}Expand description
Retry policy for batch downloads.
Variants§
RetryCount(u32)
Retry a fixed number of times
Infinite
Retry indefinitely (not recommended for production)
None
No retries
Trait Implementations§
Source§impl Clone for BatchRetryPolicy
impl Clone for BatchRetryPolicy
Source§fn clone(&self) -> BatchRetryPolicy
fn clone(&self) -> BatchRetryPolicy
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 BatchRetryPolicy
impl RefUnwindSafe for BatchRetryPolicy
impl Send for BatchRetryPolicy
impl Sync for BatchRetryPolicy
impl Unpin for BatchRetryPolicy
impl UnsafeUnpin for BatchRetryPolicy
impl UnwindSafe for BatchRetryPolicy
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