Crate serial_rs

Source
Expand description

serial-rs is a cross-platform serial library A lot of the code here is based on the Pyserial project

Modules§

posix
TTY port

Structs§

PortInfo
Information on a listed serial port
SerialPortSettings
Serial port settings

Enums§

ByteSize
Bytesize for serial port
FlowControl
Flow control method
Parity
Parity definitions
SerialError
Serial port error type
StopBits
Stop bits for serial port

Traits§

PortScanner
Scanner to list avaliable serial ports on a system
SerialPort
Serial port trait

Functions§

list_ports
Lists all ports on the system
new
Creates a new serial port from port info
new_from_path
Creates a new serial port from port path

Type Aliases§

SerialResult
Serial port result type