Enum PortInformationPortType

Source
pub enum PortInformationPortType {
Show 40 variants NoPort, ParallelPortXTATCompatible, ParallelPortPS2, ParallelPortEcp, ParallelPortEpp, ParallelPortEcpEpp, SerialPortXTATCompatible, SerialPort16450Compatible, SerialPort16550Compatible, SerialPort16550ACompatible, ScsiPort, MidiPort, JoyStickPort, KeyboardPort, MousePort, SsaScsi, Usb, Firewire, PcmciaTypeI, PcmcialTypeII, PcmciaTypeIii, Cardbus, AccessBusPort, ScsiII, ScsiWide, PC98, PC98Hireso, PCH98, VideoPort, AudioPort, ModemPort, NetworkPort, Sata, Sas, Mfdp, Thunderbolt, Port8251Compatible, Port8251FifoCompatible, Other, None,
}
Expand description

§Port Types

Variants§

§

NoPort

No Port

§

ParallelPortXTATCompatible

Parallel Port XT/AT Compatible

§

ParallelPortPS2

Parallel Port PS/2

§

ParallelPortEcp

Parallel Port ECP

§

ParallelPortEpp

Parallel Port EPP

§

ParallelPortEcpEpp

Parallel Port ECP/EPP

§

SerialPortXTATCompatible

Serial Port XT/AT Compatible

§

SerialPort16450Compatible

Serial Port 16450 Compatible

§

SerialPort16550Compatible

Serial Port 16550 Compatible

§

SerialPort16550ACompatible

Serial Port 16550A Compatible

§

ScsiPort

SCSI Port

§

MidiPort

MIDI Port

§

JoyStickPort

Joy Stick Port

§

KeyboardPort

Keyboard Port

§

MousePort

Mouse Port

§

SsaScsi

SSA SCSI

§

Usb

USB

§

Firewire

FireWire (IEEE P1394)

§

PcmciaTypeI

PCMCIA Type I2

§

PcmcialTypeII

PCMCIA Type II

§

PcmciaTypeIii

PCMCIA Type III

§

Cardbus

Cardbus

§

AccessBusPort

Access Bus Port

§

ScsiII

SCSI II

§

ScsiWide

SCSI Wide

§

PC98

PC-98

§

PC98Hireso

PC-98-Hireso

§

PCH98

PC-H98

§

VideoPort

Video Port

§

AudioPort

Audio Port

§

ModemPort

Modem Port

§

NetworkPort

Network Port

§

Sata

SATA

§

Sas

SAS

§

Mfdp

MFDP (Multi-Function Display Port)

§

Thunderbolt

Thunderbolt

§

Port8251Compatible

8251 Compatible

§

Port8251FifoCompatible

8251 FIFO Compatible

§

Other

Other

§

None

A value unknown to this standard, check the raw value

Trait Implementations§

Source§

impl Debug for PortInformationPortType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for PortInformationPortType

Source§

fn eq(&self, other: &PortInformationPortType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PortInformationPortType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for PortInformationPortType

Source§

impl StructuralPartialEq for PortInformationPortType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.