Registry / networking / mio-serial

mio-serial

JSON →
library5.0.6rscratesunverified

A serial port implementation for mio.

# Cargo.toml [dependencies] mio-serial = "5.0.6"
INSTALL
IMPORT
SIG · MIO-SERIAL
M
mio-serial
networkingrustv5.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SerialPort
use mio_serial::SerialPort;

Opens a serial port for communication.

use mio_serial::SerialPort; fn main() { let port = SerialPort::open("/dev/ttyUSB0").unwrap(); println!("Serial port opened"); }
Debug
Known issues
gotchaRequires mio event loop to handle I/O.
fix
Integrate with mio::Poll and register the serial port.
affects: >=5.0.0
Upgrade
Version history
5.0.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
mio-serial — cargo add mio-serial · libregistry