Module io_lifetimes::raw [−][src]
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.
TODO: Should this layer be folded into types.rs/traits.rs?
Traits
This is a portability abstraction over Unix-like [AsRawFd
] and Windows’
AsRawHandle
.
This is a portability abstraction over Unix-like [AsRawFd
] and Windows’
AsRawSocket
.
This is a portability abstraction over Unix-like [FromRawFd
] and Windows’
FromRawHandle
.
This is a portability abstraction over Unix-like [FromRawFd
] and Windows’
FromRawSocket
.
This is a portability abstraction over Unix-like [IntoRawFd
] and Windows’
IntoRawHandle
.
This is a portability abstraction over Unix-like [IntoRawFd
] and Windows’
IntoRawSocket
.
Type Definitions
A raw filelike object.
A raw socketlike object.