Crate serialport [−] [src]
Modules
posix |
The implementation of serialport for POSIX-based systems (Linux, BSD, Mac) |
prelude |
A module that exports traits that are useful to have in scope. |
Structs
Error |
An error type for serial port operations. |
SerialPortInfo |
A device-independent implementation of serial port information. |
SerialPortSettings |
A struct containing all serial port settings |
Enums
BaudRate |
Serial port baud rates. |
DataBits |
Number of bits per character. |
ErrorKind |
Categories of errors that can occur when interacting with serial ports. |
FlowControl |
Flow control modes. |
Parity |
Parity checking modes. |
StopBits |
Number of stop bits. |
Traits
SerialPort |
A trait for serial port devices |
Functions
available_baud_rates |
Returns a list of available baud rates for this system. |
available_ports |
Returns a list of all serial ports on system |
open |
Opens the serial port indicated by the given device path |
Type Definitions
Result |
A type for results generated by interacting with serial ports. |