Enum freebsd_geom::GeomClass[][src]

pub enum GeomClass {
    FD,
    RAID,
    DISK,
    DEV,
    PART,
    LABEL,
    VFS,
    SWAP,
    Flashmap,
    MD,
}

The class of a Geom.

Variants

FD

Floppy Disk

RAID
DISK

Typical PC storage devices: SATA, NVMe, IDE

DEV

Virtual “character device” in /dev

PART

Represents a partition table, such as GPT or MBR.

LABEL

Represents aliases for other Geoms. For example, disk serial number, GPT partition labels, or filesystem-internal labels (UFS, etc).

VFS
SWAP
Flashmap
MD

A Memory Disk (virtual device)

Trait Implementations

impl AsRef<str> for GeomClass[src]

impl Clone for GeomClass[src]

impl Copy for GeomClass[src]

impl Debug for GeomClass[src]

impl Eq for GeomClass[src]

impl FromStr for GeomClass[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl IntoEnumIterator for GeomClass[src]

type Iterator = GeomClassIter

impl PartialEq<GeomClass> for GeomClass[src]

impl StructuralEq for GeomClass[src]

impl StructuralPartialEq for GeomClass[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.