Enum smbioslib::ExtendedRomSize[][src]

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

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

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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.