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
fn get_fd_flags(&self) -> Result<FdFlags>[src]
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]
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.
Implementors
impl<T: AsUnsafeFile> GetSetFdFlags for T[src]
impl<T: AsUnsafeFile> GetSetFdFlags for T[src]