Crates.io | io-extras |
lib.rs | io-extras |
version | 0.18.3 |
source | src |
created_at | 2021-11-09 20:32:35.988413 |
updated_at | 2024-10-30 20:44:41.762798 |
description | File/socket handle/descriptor utilities |
homepage | |
repository | https://github.com/sunfishcode/io-extras |
max_upload_size | |
id | 479054 |
size | 182,010 |
This crate provides a few miscellaneous utilities related to I/O:
HandleOrSocket
types and traits for Windows, which abstract over Windows
*Handle*
and their corresponding Windows *Socket*
types and traits.
Grip
types and traits, which abstract over the aforementioned Windows
HandleOrSocket
types and traits and their corresponding non-Windows Fd
types and traits.
RawReadable
and RawWritable
, which adapt a raw Fd
/Handle
to
implement the Read
and Write
traits, respectively.
ReadWrite
traits, and supporting types, which provide abstractions over
types with one or two I/O resources, for reading and for writing.
This crate currently works on Rust 1.63, when default features are enabled. Some of the optional features have stricter requirements.