[][src]Trait system_interface::fs::GetSetFdFlags

pub trait GetSetFdFlags {
    fn get_fd_flags(&self) -> Result<FdFlags>;
fn set_fd_flags(&mut self, flags: FdFlags) -> Result<()>; }

Extension trait that can indicate various I/O flags.

Required methods

fn get_fd_flags(&self) -> Result<FdFlags>[src]

Query the "status" flags for the self file descriptor.

fn set_fd_flags(&mut self, flags: FdFlags) -> Result<()>[src]

Set the "status" flags for the self file descriptor. On some platforms, this may close the file descriptor and produce a new one.

Loading content...

Implementors

impl<T: AsUnsafeFile> GetSetFdFlags for T[src]

Loading content...