[][src]Struct hash_roll::fastcdc::FastCdc

pub struct FastCdc<'a> { /* fields omitted */ }

An instance of the "FastCDC" algorithm

Default parameters:

Implementations

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

pub fn new(
    gear: &'a [u64; 256],
    min_size: u64,
    normal_size: u64,
    max_size: u64
) -> Self
[src]

Create a custom FastCDC instance

Trait Implementations

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

type SearchState = FastCdcState

SearchState allows searching for the chunk edge to resume without duplicating work already done. Read more

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

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

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

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

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

impl<'a, '_> From<&'_ FastCdc<'a>> for FastCdcIncr<'a>[src]

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

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

type Incr = FastCdcIncr<'a>

Incr provides the incrimental interface to this chunking instance

Auto Trait Implementations

impl<'a> RefUnwindSafe for FastCdc<'a>

impl<'a> Send for FastCdc<'a>

impl<'a> Sync for FastCdc<'a>

impl<'a> Unpin for FastCdc<'a>

impl<'a> UnwindSafe for FastCdc<'a>

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.