Crate mio_serial

Source
Expand description

§mio-serial - Serial port I/O for mio

This crate provides a serial port implementation compatable with mio.

Windows support is present but largely untested by the author

Structs§

Error
An error type for serial port operations
SerialPortBuilder
A struct containing all serial port settings
SerialPortInfo
A device-independent implementation of serial port information
SerialStream
A SerialStream.
UsbPortInfo
Contains all possible USB information about a SerialPort

Enums§

ClearBuffer
Specifies which buffer or buffers to purge when calling clear
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
SerialPortType
The physical type of a SerialPort
StopBits
Number of stop bits

Traits§

SerialPort
A trait for serial port devices
SerialPortBuilderExt
An extension trait for SerialPortBuilder

Functions§

available_ports
Returns a list of all serial ports on system
new
Construct a builder of SerialPort objects

Type Aliases§

Result
A type for results generated by interacting with serial ports