Enum freebsd_geom::PartState[][src]

pub enum PartState {
    CORRUPT,
    OK,
}

The PartState::CORRUPT state on a GeomClass::PART Geom indicates any of several possible issues with metadata on the parent Geom.

PartState::OK indicates the absence of any of these issues.

Corruption issues can include:

  • GPT scheme: Either the primary or secondary GPT header is corrupt. If one is intact, the other can be recovered.
  • EBR scheme: An internal inconsistency exists in EBR’s metadata.
  • Any scheme: There is some internal inconsistency, such as overlapping partitions.

Variants

CORRUPT
OK

Trait Implementations

impl AsRef<str> for PartState[src]

impl Debug for PartState[src]

impl FromStr for PartState[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl IntoEnumIterator for PartState[src]

type Iterator = PartStateIter

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, 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.