[−][src]Trait unsafe_io::AsRawReadWriteFd
Like std::os::unix::io::AsRawFd
, but specifically for use with
implementations which may contain both reading and writing file
descriptors.
Required methods
pub fn as_raw_read_fd(&self) -> RawFd
[src]
Extracts the raw file descriptor for reading.
Like std::os::unix::io::AsRawFd::as_raw_fd
, but returns the reading
file descriptor.
pub fn as_raw_write_fd(&self) -> RawFd
[src]
Extracts the raw file descriptor for writing.
Like std::os::unix::io::AsRawFd::as_raw_fd
, but returns the writing
file descriptor.