pub fn get_nonblocking<F: AsRawFd>(file: &F) -> Result<bool>
Gets the nonblocking mode of the underlying file descriptor.
Implementation detail: uses fcntl to retrieve O_NONBLOCK.
fcntl
O_NONBLOCK