pub struct BlockIndexEntry {
pub block_offset: u64,
pub compressed_size: u32,
pub uncompressed_size: u32,
pub checksum: u32,
}Expand description
One entry in the trailing block index.
Fields§
§block_offset: u64Absolute byte offset of the BlockHeader from start of file.
compressed_size: u32§uncompressed_size: u32§checksum: u32Implementations§
Trait Implementations§
Source§impl Clone for BlockIndexEntry
impl Clone for BlockIndexEntry
Source§fn clone(&self) -> BlockIndexEntry
fn clone(&self) -> BlockIndexEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockIndexEntry
impl Debug for BlockIndexEntry
Source§impl PartialEq for BlockIndexEntry
impl PartialEq for BlockIndexEntry
impl Copy for BlockIndexEntry
impl Eq for BlockIndexEntry
impl StructuralPartialEq for BlockIndexEntry
Auto Trait Implementations§
impl Freeze for BlockIndexEntry
impl RefUnwindSafe for BlockIndexEntry
impl Send for BlockIndexEntry
impl Sync for BlockIndexEntry
impl Unpin for BlockIndexEntry
impl UnsafeUnpin for BlockIndexEntry
impl UnwindSafe for BlockIndexEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more