Struct gpt::header::Header [] [src]

pub struct Header {
    pub signature: String,
    pub revision: u32,
    pub header_size_le: u32,
    pub crc32: u32,
    pub reserved: u32,
    pub current_lba: u64,
    pub backup_lba: u64,
    pub first_usable: u64,
    pub last_usable: u64,
    pub disk_guid: Uuid,
    pub part_start: u64,
    pub num_parts: u32,
    pub part_size: u32,
    pub crc32_parts: u32,
}

Fields

EFI PART

00 00 01 00

little endian

CRC32 of the header with crc32 section zeroed

must be 0

For main header, 1

LBA for backup header

First usable LBA for partitions (primary table last LBA + 1)

Last usable LBA (seconary partition table first LBA - 1)

UUID of the disk

Starting LBA of partition entries

Number of partition entries

Size of a partition entry, usually 128

CRC32 of the partition table

Trait Implementations

impl Debug for Header
[src]

Formats the value using the given formatter.

impl Display for Header
[src]

Formats the value using the given formatter. Read more