Expand description
Portability abstractions over Raw*.
On Unix, “everything is a file descriptor”. On Windows, file/pipe/process handles are distinct from socket descriptors. This file provides a minimal layer of portability over this difference.
Traits§
- AsRaw
Filelike - A portable trait to obtain the raw value of an underlying filelike object.
- AsRaw
Socketlike - This is a portability abstraction over Unix-like
AsRawFdand Windows’AsRawSocket. - From
RawFilelike - This is a portability abstraction over Unix-like
FromRawFdand Windows’FromRawHandle. - From
RawSocketlike - This is a portability abstraction over Unix-like
FromRawFdand Windows’FromRawSocket. - Into
RawFilelike - This is a portability abstraction over Unix-like
IntoRawFdand Windows’IntoRawHandle. - Into
RawSocketlike - This is a portability abstraction over Unix-like
IntoRawFdand Windows’IntoRawSocket.
Type Aliases§
- RawFilelike
- A raw filelike object.
- RawSocketlike
- A raw socketlike object.