Skip to main content

FsFileAsRaw

Trait FsFileAsRaw 

Source
pub trait FsFileAsRaw {
    // Required method
    fn fs_file_as_raw_fd(&self) -> Option<RawFd>;
}

Required Methods§

Source

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).

Implementors§