#[non_exhaustive]pub enum PartitionTableKind {
Mbr,
Gpt,
Hybrid,
}Expand description
Partition-table family identified from sector-zero and GPT metadata.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Mbr
A legacy Master Boot Record partition table.
Gpt
A GUID Partition Table, including its protective MBR.
Hybrid
A GPT with both protective and ordinary MBR entries.
Trait Implementations§
Source§impl Clone for PartitionTableKind
impl Clone for PartitionTableKind
Source§fn clone(&self) -> PartitionTableKind
fn clone(&self) -> PartitionTableKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PartitionTableKind
Source§impl Debug for PartitionTableKind
impl Debug for PartitionTableKind
impl Eq for PartitionTableKind
Source§impl PartialEq for PartitionTableKind
impl PartialEq for PartitionTableKind
impl StructuralPartialEq for PartitionTableKind
Auto Trait Implementations§
impl Freeze for PartitionTableKind
impl RefUnwindSafe for PartitionTableKind
impl Send for PartitionTableKind
impl Sync for PartitionTableKind
impl Unpin for PartitionTableKind
impl UnsafeUnpin for PartitionTableKind
impl UnwindSafe for PartitionTableKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more