[][src]Trait hash_roll::ToChunkIncr

pub trait ToChunkIncr {
    type Incr: ChunkIncr;
    fn to_chunk_incr(&self) -> Self::Incr;
}

Implimented on types which can be converted to/can provide a ChunkIncr interface.

Types that impliment this generally represent a instantiation of a chunking algorithm.

Associated Types

type Incr: ChunkIncr

Incr provides the incrimental interface to this chunking instance

Loading content...

Required methods

fn to_chunk_incr(&self) -> Self::Incr

to_chunk_incr() returns a ChunkIncr which can be incrimentally fed data and emits chunks.

Generally, this is a typically low cost operation that copies from the implimentor or does minor computation on its fields and may allocate some memory for storing additional state needed for incrimental computation.

Loading content...

Implementors

impl ToChunkIncr for RollSum[src]

type Incr = RollSumIncr

impl ToChunkIncr for GzipRsyncable[src]

impl ToChunkIncr for Mii[src]

type Incr = MiiIncr

impl ToChunkIncr for PigzRsyncable[src]

impl ToChunkIncr for Ram[src]

type Incr = RamIncr

impl ToChunkIncr for Zpaq[src]

type Incr = ZpaqIncr

impl ToChunkIncr for Zstd[src]

type Incr = ZstdIncr

impl<'a> ToChunkIncr for FastCdc<'a>[src]

type Incr = FastCdcIncr<'a>

impl<'a> ToChunkIncr for Gear32<'a>[src]

type Incr = GearIncr32<'a>

impl<H: BuzHashHash + Clone> ToChunkIncr for BuzHash<H>[src]

type Incr = BuzHashIncr<H>

Loading content...