pub trait UnixInputStreamExtManual: Sized {
    fn fd<T: FromRawFd>(&self) -> T;
    unsafe fn set_close_fd(&self, close_fd: bool);
}

Required Methods

Return the UNIX file descriptor that the stream reads from.

Returns

The file descriptor of self

Sets whether the file descriptor of self shall be closed when the stream is closed.

close_fd

true to close the file descriptor when done

Implementors