pub struct BlockChecksum {
pub rsum: Rsum,
pub checksum: [u8; 16],
}Expand description
The checksums of one target block.
Fields§
§rsum: RsumThe rolling checksum, with any bytes the control file does not store left as zero.
checksum: [u8; 16]The MD4 digest. Only the first HashLengths::checksum_bytes are
significant, and the rest are zero.
Trait Implementations§
Source§impl Clone for BlockChecksum
impl Clone for BlockChecksum
impl Copy for BlockChecksum
Auto Trait Implementations§
impl Freeze for BlockChecksum
impl RefUnwindSafe for BlockChecksum
impl Send for BlockChecksum
impl Sync for BlockChecksum
impl Unpin for BlockChecksum
impl UnsafeUnpin for BlockChecksum
impl UnwindSafe for BlockChecksum
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