Struct asuran::chunker::BuzHash [−][src]
pub struct BuzHash { /* fields omitted */ }
Expand description
Settings for a BuzHash
Chunker
Uses a randomized lookup table derived from a nonce provided by the repository key material, to help provide resistance against a chunk size based fingerprinting attack, for users who are concerned about such a thing.
This is a very tenuous mitigation for such an attack, borrowed from borg, and is, fundamentally, a temporary work around. The “correct” solution is to implement a better repository structure, that does not leak chunk sizes.
Implementations
Trait Implementations
type Chunks = BuzHashChunker
type Chunks = BuzHashChunker
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 BuzHash
impl UnwindSafe for BuzHash
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