Registry / other / embedded-io

embedded-io

JSON →
library0.7.1rscratesunverified

Embedded IO traits.

# Cargo.toml [dependencies] embedded-io = "0.7.1"
INSTALL
IMPORT
SIG · EMBEDDED-IO
E
embedded-io
otherrustv0.7.1
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.

Read
✓ use embedded_io::Read;

Defines a generic function that reads a byte from an embedded IO reader.

use embedded_io::Read; fn read_data<R: Read>(reader: &mut R) -> Result<u8, R::Error> { let mut buf = [0u8; 1]; reader.read(&mut buf)?; Ok(buf[0]) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
embedded-io — cargo add embedded-io · libregistry