Struct smbioslib::SMBiosPortConnectorInformation
source · [−]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
sourceimpl<'a> SMBiosPortConnectorInformation<'a>
impl<'a> SMBiosPortConnectorInformation<'a>
sourcepub fn internal_reference_designator(&self) -> Option<String>
pub fn internal_reference_designator(&self) -> Option<String>
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) -> Option<String>
pub fn external_reference_designator(&self) -> Option<String>
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
sourceimpl Debug for SMBiosPortConnectorInformation<'_>
impl Debug for SMBiosPortConnectorInformation<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosPortConnectorInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosPortConnectorInformation<'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 SMBiosPortConnectorInformation<'_>
impl Serialize for SMBiosPortConnectorInformation<'_>
Auto Trait Implementations
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
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