pub enum ParallelMode {
Manual(usize),
Auto {
min: u32,
max: u32,
},
}Expand description
How concurrency is chosen for a batch of files.
Variants§
Manual(usize)
Run at exactly this many files concurrently (--parallel N).
Auto
Adapt to available memory and learned browser footprint, never
exceeding max (0 = unlimited) or dropping below min.
Trait Implementations§
Source§impl Clone for ParallelMode
impl Clone for ParallelMode
impl Copy for ParallelMode
Source§impl Debug for ParallelMode
impl Debug for ParallelMode
impl Eq for ParallelMode
Source§impl PartialEq for ParallelMode
impl PartialEq for ParallelMode
impl StructuralPartialEq for ParallelMode
Auto Trait Implementations§
impl Freeze for ParallelMode
impl RefUnwindSafe for ParallelMode
impl Send for ParallelMode
impl Sync for ParallelMode
impl Unpin for ParallelMode
impl UnsafeUnpin for ParallelMode
impl UnwindSafe for ParallelMode
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