https://github.com/sunfishcode/io-extras
Non-owning unsafe I/O
https://github.com/sunfishcode/io-extras
library rust
Last synced: 7 months ago
JSON representation
Non-owning unsafe I/O
- Host: GitHub
- URL: https://github.com/sunfishcode/io-extras
- Owner: sunfishcode
- License: other
- Created: 2020-12-18T15:06:13.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T01:41:01.000Z (about 1 year ago)
- Last Synced: 2025-06-15T00:08:18.699Z (8 months ago)
- Topics: library, rust
- Language: Rust
- Homepage:
- Size: 216 KB
- Stars: 20
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
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.
## Minimum Supported Rust Version (MSRV)
This crate currently works on Rust 1.63, when default features are enabled.
Some of the optional features have stricter requirements.