Expand description
This crate provides a few miscellaneous utilities related to I/O:
-
HandleOrSockettypes and traits for Windows, which abstract over Windows*Handle*and their corresponding Windows*Socket*types and traits. -
Griptypes and traits, which abstract over the aforementioned WindowsHandleOrSockettypes and traits and their corresponding non-WindowsFdtypes and traits. -
OwnedReadable,OwnedWriteable,BorrowedReadable,BorrowedWriteable,RawReadableandRawWriteable, which adapt a rawFd/Handleto implement theReadandWritetraits, respectively. -
ReadWritetraits, and supporting types, which provide abstractions over types with one or two I/O resources, for reading and for writing.
Modules§
- borrowed
BorrowedReadableandBorrowedWriteable.- grip
- “Grip” is an abstraction over “Fd” and “HandleOrSocket”. “Handle” would be the obvious term, but that has a more specific meaning on Windows.
- os
- OS-specific functionality.
- owned
OwnedReadableandOwnedWriteable.- raw
RawReadableandRawWriteable.- read_
write - Traits for working with types that may have up to two I/O objects.