Struct serial_enumerator::SerialInfo[][src]

pub struct SerialInfo {
    pub name: String,
    pub vendor: Option<String>,
    pub product: Option<String>,
    pub driver: Option<String>,
    pub usb_info: Option<UsbInfo>,
}
Expand description

serial port informations

Fields

name: String

serial port name

vendor: Option<String>

vendor info

product: Option<String>

product info

driver: Option<String>

linux only, driver name of current serial port

usb_info: Option<UsbInfo>

usb serial port only, vid and pid provided

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.