pub struct SMBiosPortConnectorInformation<'a> { /* private fields */ }
Expand description
§Port Connector Information (Type 8)
The information in this structure defines the attributes of a system port connector (for example, parallel, serial, keyboard, or mouse ports). The port’s type and connector information are provided. One structure is present for each port provided by the system.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations§
Source§impl<'a> SMBiosPortConnectorInformation<'a>
impl<'a> SMBiosPortConnectorInformation<'a>
Sourcepub fn internal_reference_designator(&self) -> SMBiosString
pub fn internal_reference_designator(&self) -> SMBiosString
Internal reference designator, that is, internal to the system enclosure
EXAMPLE: “J101”
Sourcepub fn internal_connector_type(
&self,
) -> Option<PortInformationConnectorTypeData>
pub fn internal_connector_type( &self, ) -> Option<PortInformationConnectorTypeData>
Internal connector type
Sourcepub fn external_reference_designator(&self) -> SMBiosString
pub fn external_reference_designator(&self) -> SMBiosString
External reference designation, external to the system enclosure
EXAMPLE: “COM A”
Sourcepub fn external_connector_type(
&self,
) -> Option<PortInformationConnectorTypeData>
pub fn external_connector_type( &self, ) -> Option<PortInformationConnectorTypeData>
External connector type
Sourcepub fn port_type(&self) -> Option<PortInformationPortTypeData>
pub fn port_type(&self) -> Option<PortInformationPortTypeData>
Describes the function of the port
Trait Implementations§
Source§impl Debug for SMBiosPortConnectorInformation<'_>
impl Debug for SMBiosPortConnectorInformation<'_>
Source§impl<'a> SMBiosStruct<'a> for SMBiosPortConnectorInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosPortConnectorInformation<'a>
Source§const STRUCT_TYPE: u8 = 8u8
const STRUCT_TYPE: u8 = 8u8
The SMBIOS structure type Read more
Source§fn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
Source§fn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
Auto Trait Implementations§
impl<'a> Freeze for SMBiosPortConnectorInformation<'a>
impl<'a> RefUnwindSafe for SMBiosPortConnectorInformation<'a>
impl<'a> Send for SMBiosPortConnectorInformation<'a>
impl<'a> Sync for SMBiosPortConnectorInformation<'a>
impl<'a> Unpin for SMBiosPortConnectorInformation<'a>
impl<'a> UnwindSafe for SMBiosPortConnectorInformation<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more