[−][src]Struct asuran_chunker::fastcdc::FastCDC
Settings for a fastcdc Chunker
These are limited to usize
, and not u64
, because this implementation makes
extensive use of in memory buffers of size max_size
This chunker, unlike BuzHash
does not support any attempted mitigation of
chunk based fingerprinting attacks. Those who are concerned about such an
attack may wish to use the BuzHash
chunker until such a time that a better
repository format that does not leak information about chunk sizes can be
developed.
Fields
min_size: usize
max_size: usize
avg_size: usize
Trait Implementations
impl Chunker for FastCDC
[src]
type Chunks = FastCDCChunker
The return type of the functions in this trait is an iterator over the chunks of their input. Read more
fn chunk_boxed(&self, read: Box<dyn Read + Send + 'static>) -> Self::Chunks
[src]
fn chunk<R: Read + Send + 'static>(&self, read: R) -> Self::Chunks
[src]
fn chunk_slice<R: AsRef<[u8]> + Send + 'static>(&self, slice: R) -> Self::Chunks
[src]
impl Clone for FastCDC
[src]
impl Copy for FastCDC
[src]
impl Default for FastCDC
[src]
Auto Trait Implementations
impl RefUnwindSafe for FastCDC
impl Send for FastCDC
impl Sync for FastCDC
impl Unpin for FastCDC
impl UnwindSafe for FastCDC
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,