pub struct SMBiosManagementControllerHostInterface<'a> { /* private fields */ }
Expand description
Management Controller Host Interface (Type 42)
The information in this structure defines the attributes of a Management Controller Host Interface that is not discoverable by “Plug and Play” mechanisms. The Type 42 structure can be used to describe a physical management controller host interface and one or more protocols that share that interface.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
In SMBIOS 3.2, a Change Request is applied to this structure to add the missing information that is needed to parse the structure completely. The addition of the Interface Type Specific Data Length field may cause parser (prior to SMBIOS 3.2) compatibility issue when Interface Type = OEM. Prior to SMBIOS 3.2, when Interface Type = OEM, the first four bytes following the Interface Type field is the IANA-assigned vendor ID.
Implementations
sourceimpl<'a> SMBiosManagementControllerHostInterface<'a>
impl<'a> SMBiosManagementControllerHostInterface<'a>
sourcepub fn interface_type(&self) -> Option<HostInterfaceTypeData>
pub fn interface_type(&self) -> Option<HostInterfaceTypeData>
Management Controller Interface Type
sourcepub fn interface_type_specific_data_length(&self) -> Option<u8>
pub fn interface_type_specific_data_length(&self) -> Option<u8>
Interface Type Specific Data Length
sourcepub fn interface_type_specific_data(&self) -> Option<&[u8]>
pub fn interface_type_specific_data(&self) -> Option<&[u8]>
Management Controller Host Interface Data as specified by the Interface Type
This field has a minimum of four bytes.
If interface type = OEM, the first four bytes are the vendor ID (MSB first), as assigned by the Internet Assigned Numbers Authority (IANA).
This format uses the “Enterprise Number” that is assigned and maintained by IANA (www.iana.org) as the means of identifying a particular vendor, company, or organization.
sourcepub fn number_of_protocol_records(&self) -> Option<u8>
pub fn number_of_protocol_records(&self) -> Option<u8>
X number of Protocol Records for this Host Interface Type
sourcepub fn protocol_record_iterator(&self) -> ProtocolRecordIterator<'_>ⓘNotable traits for ProtocolRecordIterator<'a>impl<'a> Iterator for ProtocolRecordIterator<'a> type Item = ProtocolRecord<'a>;
pub fn protocol_record_iterator(&self) -> ProtocolRecordIterator<'_>ⓘNotable traits for ProtocolRecordIterator<'a>impl<'a> Iterator for ProtocolRecordIterator<'a> type Item = ProtocolRecord<'a>;
Protocol Records
Trait Implementations
sourceimpl Debug for SMBiosManagementControllerHostInterface<'_>
impl Debug for SMBiosManagementControllerHostInterface<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosManagementControllerHostInterface<'a>
impl<'a> SMBiosStruct<'a> for SMBiosManagementControllerHostInterface<'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 SMBiosManagementControllerHostInterface<'_>
impl Serialize for SMBiosManagementControllerHostInterface<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosManagementControllerHostInterface<'a>
impl<'a> Send for SMBiosManagementControllerHostInterface<'a>
impl<'a> Sync for SMBiosManagementControllerHostInterface<'a>
impl<'a> Unpin for SMBiosManagementControllerHostInterface<'a>
impl<'a> UnwindSafe for SMBiosManagementControllerHostInterface<'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