Enum smbioslib::ExtendedRomSize[][src]

pub enum ExtendedRomSize {
    Megabytes(u16),
    Gigabytes(u16),
    Undefined(u16),
}

Variants

Megabytes(u16)

Extended size of the physical device(s) containing the BIOS (in MB).

Gigabytes(u16)

Extended size of the physical device(s) containing the BIOS (in GB).

Undefined(u16)

Extended size of the physical device(s) containing the BIOS in raw form.

The standard currently only defines MB and GB as given in the high nibble (bits 15-14)

Trait Implementations

impl Debug for ExtendedRomSize[src]

impl Eq for ExtendedRomSize[src]

impl From<u16> for ExtendedRomSize[src]

impl PartialEq<ExtendedRomSize> for ExtendedRomSize[src]

impl StructuralEq for ExtendedRomSize[src]

impl StructuralPartialEq for ExtendedRomSize[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, 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.