Struct gpt::GptConfig[][src]

pub struct GptConfig { /* fields omitted */ }
Expand description

Configuration options to open a GPT disk.

Implementations

Create a new default configuration.

Whether to open a GPT partition table in writable mode.

Whether to assume an initialized GPT disk and read its partition table on open.

Size of logical blocks (sectors) for this disk.

Open the GPT disk at the given path and inspect it according to configuration options.

Open the GPT disk from the given DiskDeviceObject and inspect it according to configuration options.

Create a GPTDisk with default headers and an empty partition table. If guid is None then it will generate a new random guid.

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.