Struct asuran::chunker::fastcdc::FastCDC [−][src]
Expand description
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
type Chunks = FastCDCChunker
type Chunks = FastCDCChunker
The return type of the functions in this trait is an iterator over the chunks of their input. Read more
Core function, takes a boxed owned Read and produces an iterator of Vec
Convenience function that boxes a bare Read for you, and passes it to chunk_boxed
Read more
Auto Trait Implementations
impl RefUnwindSafe for FastCDC
impl UnwindSafe for FastCDC
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more