Struct smbioslib::SMBiosPortConnectorInformation [−][src]
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
impl<'a> SMBiosPortConnectorInformation<'a>
[src]
pub fn internal_reference_designator(&self) -> Option<String>
[src]
Internal reference designator, that is, internal to the system enclosure
EXAMPLE: “J101”
pub fn internal_connector_type(
&self
) -> Option<PortInformationConnectorTypeData>
[src]
&self
) -> Option<PortInformationConnectorTypeData>
Internal connector type
pub fn external_reference_designator(&self) -> Option<String>
[src]
External reference designation, external to the system enclosure
EXAMPLE: “COM A”
pub fn external_connector_type(
&self
) -> Option<PortInformationConnectorTypeData>
[src]
&self
) -> Option<PortInformationConnectorTypeData>
External connector type
pub fn port_type(&self) -> Option<PortInformationPortTypeData>
[src]
Describes the function of the port
Trait Implementations
impl Debug for SMBiosPortConnectorInformation<'_>
[src]
impl<'a> SMBiosStruct<'a> for SMBiosPortConnectorInformation<'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 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
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>,