Struct smbioslib::SMBiosIpmiDeviceInformation
source · [−]pub struct SMBiosIpmiDeviceInformation<'a> { /* private fields */ }
Expand description
IPMI Device Information (Type 38)
The information in this structure defines the attributes of an Intelligent Platform Management Interface (IPMI) Baseboard Management Controller (BMC).
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosIpmiDeviceInformation<'a>
impl<'a> SMBiosIpmiDeviceInformation<'a>
sourcepub fn interface_type(&self) -> Option<IpmiInterfaceTypeData>
pub fn interface_type(&self) -> Option<IpmiInterfaceTypeData>
Baseboard Management Controller (BMC) interface type.
sourcepub fn ipmi_specification_revision(&self) -> Option<u8>
pub fn ipmi_specification_revision(&self) -> Option<u8>
IPMI specification revision, in BCD format, to which the BMC was designed
sourcepub fn i2c_target_address(&self) -> Option<u8>
pub fn i2c_target_address(&self) -> Option<u8>
Slave address on the I2C bus of this BMC
sourcepub fn nvstorage_device_address(&self) -> Option<u8>
pub fn nvstorage_device_address(&self) -> Option<u8>
Bus ID of the NV storage device.
If no storage device exists for this BMC, the field is set to 0FFh.
sourcepub fn base_address(&self) -> Option<u64>
pub fn base_address(&self) -> Option<u64>
Base address (either memory-mapped or I/O) of the BMC
If the least-significant bit of the field is a 1, the address is in I/O space; otherwise, the address is memory-mapped. Refer to the IPMI Interface Specification for usage details.
sourcepub fn base_address_modifier(&self) -> Option<BaseAddressModifier>
pub fn base_address_modifier(&self) -> Option<BaseAddressModifier>
Base Address Modifier and Interrupt Info
sourcepub fn interrupt_number(&self) -> Option<u8>
pub fn interrupt_number(&self) -> Option<u8>
Interrupt number for IPMI System Interface
00h = unspecified/unsupported
Trait Implementations
sourceimpl Debug for SMBiosIpmiDeviceInformation<'_>
impl Debug for SMBiosIpmiDeviceInformation<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosIpmiDeviceInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosIpmiDeviceInformation<'a>
sourceconst STRUCT_TYPE: u8
const STRUCT_TYPE: u8
The SMBIOS structure type Read more
sourcefn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
sourcefn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
sourceimpl Serialize for SMBiosIpmiDeviceInformation<'_>
impl Serialize for SMBiosIpmiDeviceInformation<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosIpmiDeviceInformation<'a>
impl<'a> Send for SMBiosIpmiDeviceInformation<'a>
impl<'a> Sync for SMBiosIpmiDeviceInformation<'a>
impl<'a> Unpin for SMBiosIpmiDeviceInformation<'a>
impl<'a> UnwindSafe for SMBiosIpmiDeviceInformation<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more