pub struct Chunk {
pub hash: u32,
pub offset: usize,
pub length: usize,
}Expand description
Represents a chunk, returned from the FastCDC iterator.
Fields§
§hash: u32Hash found at this location.
offset: usizeStarting byte position within the original content.
length: usizeLength of the chunk in bytes.
Trait Implementations§
impl Copy for Chunk
impl Eq for Chunk
impl StructuralPartialEq for Chunk
Auto Trait Implementations§
impl Freeze for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnwindSafe for Chunk
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