[][src]Enum qbsdiff::bsdiff::ParallelScheme

pub enum ParallelScheme {
    Never,
    Auto,
    ChunkSize(usize),
    NumJobs(usize),
}

Parallel searching scheme of bsdiff.

Variants

Never

Never search in parallel.

Auto

Automatically determine parallel scheme.

ChunkSize(usize)

Each parallel job works on a chunk no large than given size.

The chunk size should be greater than 256 KiB, or it would choose a larger chunk size to avoid bad quality of patch.

NumJobs(usize)

Run no more than N parallel jobs.

Trait Implementations

impl Clone for ParallelScheme[src]

impl Copy for ParallelScheme[src]

impl Debug for ParallelScheme[src]

impl Eq for ParallelScheme[src]

impl PartialEq<ParallelScheme> for ParallelScheme[src]

impl StructuralEq for ParallelScheme[src]

impl StructuralPartialEq for ParallelScheme[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.