Expand description
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 WindowsHandleOrSocket
types and traits and their corresponding non-WindowsFd
types and traits. -
OwnedReadable
,OwnedWriteable
,BorrowedReadable
,BorrowedWriteable
,RawReadable
andRawWriteable
, which adapt a rawFd
/Handle
to implement theRead
andWrite
traits, respectively. -
ReadWrite
traits, and supporting types, which provide abstractions over types with one or two I/O resources, for reading and for writing.
Modules
BorrowedReadable
and BorrowedWriteable
.
“Grip” is an abstraction over “Fd” and “HandleOrSocket”. “Handle” would be the obvious term, but that has a more specific meaning on Windows.
OS-specific functionality.
OwnedReadable
and OwnedWriteable
.
RawReadable
and RawWriteable
.
Traits for working with types that may have up to two I/O objects.