Struct rdedup_cdc::gear::Gear [] [src]

pub struct Gear {
    pub chunk_bits: u32,
    // some fields omitted
}

Fields

Methods

impl Gear
[src]

[src]

Create new Gear engine with default chunking settings

[src]

Create new Gear engine with custom chunking settings

chunk_bits is number of bits that need to match in the edge condition. CHUNK_BITS constant is the default.

[src]

[src]

Trait Implementations

impl Default for Gear
[src]

[src]

Returns the "default value" for a type. Read more

impl RollingHash for Gear
[src]

[src]

[src]

Roll over a slice of bytes

[src]

Return current rolling sum digest

[src]

Resets the internal state

impl CDC for Gear
[src]

[src]

Find chunk edge using Gear defaults.

See Engine::find_chunk_edge_cond.