pub struct HashLengths {
pub seq_matches: u8,
pub rsum_bytes: u8,
pub checksum_bytes: u8,
}Expand description
The Hash-Lengths header: how strict matching is and how many checksum
bytes each block record stores.
Shorter checksums make a smaller control file at the cost of more false candidates, which is why a large target needs longer ones.
Fields§
§seq_matches: u8How many consecutive blocks must match together before a match is accepted, either 1 or 2.
rsum_bytes: u8Bytes of rolling checksum stored per block, from 1 to 4.
checksum_bytes: u8Bytes of MD4 digest stored per block, from 3 to 16.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HashLengths
impl RefUnwindSafe for HashLengths
impl Send for HashLengths
impl Sync for HashLengths
impl Unpin for HashLengths
impl UnsafeUnpin for HashLengths
impl UnwindSafe for HashLengths
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more