pub trait FsFileAsRaw {
// Required method
fn fs_file_as_raw_fd(&self) -> Option<RawFd>;
}Required Methods§
Sourcefn fs_file_as_raw_fd(&self) -> Option<RawFd>
fn fs_file_as_raw_fd(&self) -> Option<RawFd>
Returns the raw file descriptor on Unix platforms only
or None when the file doesn’t support it (ex. in-memory file system).