pub struct BlkxTable {
pub version: u32,
pub sector_number: u64,
pub sector_count: u64,
pub data_offset: u64,
pub buffers_needed: u32,
pub block_descriptors: u32,
pub reserved: [u8; 24],
pub checksum: UdifChecksum,
pub chunks: Vec<BlkxChunk>,
}Fields§
§version: u32currently 1
sector_number: u64starting sector
sector_count: u64number of sectors
data_offset: u64seems to always be 0
buffers_needed: u32seems to be a magic constant for zlib describing the buffer size required for decompressing a chunk.
block_descriptors: u32not sure what this is, setting it to the partition index
reserved: [u8; 24]§checksum: UdifChecksum§chunks: Vec<BlkxChunk>chunk table
Implementations§
Trait Implementations§
impl Eq for BlkxTable
impl StructuralPartialEq for BlkxTable
Auto Trait Implementations§
impl Freeze for BlkxTable
impl RefUnwindSafe for BlkxTable
impl Send for BlkxTable
impl Sync for BlkxTable
impl Unpin for BlkxTable
impl UnwindSafe for BlkxTable
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.