Enum rdedup_lib::config::ChunkingAlgorithm
[−]
[src]
pub enum ChunkingAlgorithm {
Bup {
chunk_bits: u32,
},
}ChunkingAlgorithm are the algorithms supported by rdedup
Variants
BupBup is the default algorithm, the chunk_bits value provided with bup
is the bit shift to be used by rollsum. The valid range is between 10
and 30 (1KB to 1GB)
Fields of Bup
chunk_bits: u32 |
Methods
impl ChunkingAlgorithm[src]
Trait Implementations
impl Copy for ChunkingAlgorithm[src]
impl Clone for ChunkingAlgorithm[src]
fn clone(&self) -> ChunkingAlgorithm
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for ChunkingAlgorithm[src]
impl PartialEq for ChunkingAlgorithm[src]
fn eq(&self, __arg_0: &ChunkingAlgorithm) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ChunkingAlgorithm) -> bool
This method tests for !=.
impl Default for ChunkingAlgorithm[src]
Default implementation for the ChunkingAlgorithm
fn default() -> ChunkingAlgorithm
Returns the "default value" for a type. Read more