Struct libblkid_rs::BlkidPartition[][src]

pub struct BlkidPartition(_);
Expand description

A handle for working with a probed partition.

Implementations

Get the partition table for the given partition.

Get the partition name or None if it can’t be represented.

Get the partition UUID or None if the partition table doesn’t support it.

Get the partition number.

Get the start of the partition in units of sectors.

Get the size of the partition in units of sectors.

Get the numberic partition type. Use get_type_string for the String representation.

Get the string representation of the partition type.

Get the flags for the given partition.

This method is not typed as the documentation does not specify which constants are used as flags.

Check whether the given partition is logical.

Check whether the given partition is an extended partition.

Check whether the given partition is a primary partition.

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.