Struct smbioslib::SMBiosInformation [−][src]
Implementations
impl<'a> SMBiosInformation<'a>
[src]
pub fn vendor(&self) -> Option<String>
[src]
BIOS vendor’s name
pub fn version(&self) -> Option<String>
[src]
BIOS version
This value is a free-form string that may contain Core and OEM version information.
pub fn starting_address_segment(&self) -> Option<u16>
[src]
BIOS starting address segment
Segment location of BIOS starting address (for example, 0E800h).
NOTE: The size of the runtime BIOS image can be computed by subtracting the Starting Address Segment from 10000h and multiplying the result by 16.
pub fn release_date(&self) -> Option<String>
[src]
BIOS release date
The date string, if supplied, is in either mm/dd/yy or mm/dd/yyyy format. If the year portion of the string is two digits, the year is assumed to be 19yy.
NOTE: The mm/dd/yyyy format is required for SMBIOS version 2.3 and later.
pub fn rom_size(&self) -> Option<u8>
[src]
BIOS ROM size
Size (n) where 64K * (n+1) is the size of the physical device containing the BIOS, in bytes.
FFh - size is 16MB or greater, see Extended BIOS ROM Size for actual size
pub fn characteristics(&self) -> Option<BiosCharacteristics>
[src]
BIOS characteristics
Defines which functions the BIOS supports: PCI, PCMCIA, Flash, etc
pub fn bios_vendor_reserved_characteristics(&self) -> Option<u16>
[src]
BIOS vendor reserved characteristics
pub fn system_vendor_reserved_characteristics(&self) -> Option<u16>
[src]
System vendor reserved characteristics
pub fn characteristics_extension0(
&self
) -> Option<BiosCharacteristicsExtension0>
[src]
&self
) -> Option<BiosCharacteristicsExtension0>
Characteristics extension byte 0
pub fn characteristics_extension1(
&self
) -> Option<BiosCharacteristicsExtension1>
[src]
&self
) -> Option<BiosCharacteristicsExtension1>
Characteristics extension byte 1
pub fn system_bios_major_release(&self) -> Option<u8>
[src]
System BIOS major release
Identifies the major release of the System BIOS; for example, the value is 0Ah for revision 10.22 and 02h for revision 2.1.
This field or the System BIOS Minor Release field or both are updated each time a System BIOS update for a given system is released.
If the system does not support the use of this field, the value is 0FFh for both this field and the System BIOS Minor Release field.
pub fn system_bios_minor_release(&self) -> Option<u8>
[src]
System BIOS minor release
Identifies the minor release of the System BIOS; for example, the value is 16h for revision 10.22 and 01h for revision 2.1.
pub fn e_c_firmware_major_release(&self) -> Option<u8>
[src]
Embedded controller firmware major release
Identifies the major release of the embedded controller firmware; for example, the value would be 0Ah for revision 10.22 and 02h for revision 2.1.
This field or the Embedded Controller Firmware Minor Release field or both are updated each time an embedded controller firmware update for a given system is released.
If the system does not have field upgradeable embedded controller firmware, the value is 0FFh.
pub fn e_c_firmware_minor_release(&self) -> Option<u8>
[src]
Embedded controller firmware minor release
Identifies the minor release of the embedded controller firmware; for example, the value is 16h for revision 10.22 and 01h for revision 2.1. If the system does not have field upgradeable embedded controller firmware, the value is 0FFh.
pub fn extended_rom_size(&self) -> Option<ExtendedRomSize>
[src]
Extended BIOS ROM size
Extended size of the physical device(s) containing the BIOS, rounded up if needed.
Bits 15:14 Unit 00b - megabytes 01b - gigabytes 10b - reserved 11b - reserved Bits 13:0 Size
Examples: a 16 MB device would be represented as 0010h. A 48 GB device set would be represented as 0100_0000_0011_0000b or 4030h.
Trait Implementations
impl Debug for SMBiosInformation<'_>
[src]
impl<'a> SMBiosStruct<'a> for SMBiosInformation<'a>
[src]
const STRUCT_TYPE: u8
[src]
fn new(parts: &'a UndefinedStruct) -> Self
[src]
fn parts(&self) -> &'a UndefinedStruct
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosInformation<'a>
impl<'a> Send for SMBiosInformation<'a>
impl<'a> Sync for SMBiosInformation<'a>
impl<'a> Unpin for SMBiosInformation<'a>
impl<'a> UnwindSafe for SMBiosInformation<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,