Crate serial [] [src]

Reexports

pub use BaudRate::*;
pub use CharSize::*;
pub use Parity::*;
pub use StopBits::*;
pub use FlowControl::*;

Modules

posix

Serial port implementation for POSIX-compliant operating systems.

prelude

A module that exports traits that are useful to have in scope.

Structs

Error

An error type for serial port operations.

PortSettings

A device-indepenent implementation of serial port settings.

Enums

BaudRate

Serial port baud rates.

CharSize

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

SerialDevice

A trait for implementing serial devices.

SerialPort

A trait for serial port devices.

SerialPortSettings

A trait for objects that implement serial port configurations.

Functions

open

A convenience function for opening a native serial port.

Type Definitions

Result

A type for results generated by interacting with serial ports.

SystemPort

A convenience type alias for the system's native serial port type.