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

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

Extension trait that can indicate various I/O flags.

Required methods

Query the “status” flags for the self file descriptor.

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

Implementors