Function gpt::header::read_header_from_arbitrary_device

source ยท
pub fn read_header_from_arbitrary_device<D: Read + Seek>(
    device: &mut D,
    sector_size: LogicalBlockSize,
) -> Result<Header>
Expand description

Read a GPT header from any device capable of reading and seeking.