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: u32

currently 1

sector_number: u64

starting sector

sector_count: u64

number of sectors

data_offset: u64

seems to always be 0

buffers_needed: u32

seems to be a magic constant for zlib describing the buffer size required for decompressing a chunk. number was taken from hdiutil

block_descriptors: u32

not sure what this is, setting it to the partition index

reserved: [u8; 24]checksum: UdifChecksumchunks: Vec<BlkxChunk>

chunk table

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.