Enum ferrous_serialport::SerialPortType [−][src]
pub enum SerialPortType { UsbPort(UsbPortInfo), PciPort, BluetoothPort, Unknown, }
The physical type of a SerialPort
Variants
UsbPort(UsbPortInfo)
The serial port is connected via USB
The serial port is connected via PCI (permanent port)
The serial port is connected via Bluetooth
It can’t be determined how the serial port is connected
Trait Implementations
impl Clone for SerialPortType
[src]
impl Clone for SerialPortType
[src]fn clone(&self) -> SerialPortType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for SerialPortType
[src]
impl Eq for SerialPortType
[src]impl PartialEq<SerialPortType> for SerialPortType
[src]
impl PartialEq<SerialPortType> for SerialPortType
[src]fn eq(&self, other: &SerialPortType) -> bool
[src]
fn ne(&self, other: &SerialPortType) -> bool
[src]
impl StructuralEq for SerialPortType
[src]
impl StructuralEq for SerialPortType
[src]impl StructuralPartialEq for SerialPortType
[src]
impl StructuralPartialEq for SerialPortType
[src]Auto Trait Implementations
impl RefUnwindSafe for SerialPortType
impl RefUnwindSafe for SerialPortType
impl Send for SerialPortType
impl Send for SerialPortType
impl Sync for SerialPortType
impl Sync for SerialPortType
impl Unpin for SerialPortType
impl Unpin for SerialPortType
impl UnwindSafe for SerialPortType
impl UnwindSafe for SerialPortType