Struct unix_fd::fd::Fd
[−]
[src]
pub struct Fd { /* fields omitted */ }
Methods
impl Fd
[src]
fn into_file(self) -> Result<File>
[src]
fn open<T: AsRef<Path>>(path: &T, flags: c_int) -> Result<Fd>
[src]
fn openat<T: AsRef<Path>>(&self, path: &T, flags: c_int) -> Result<Fd>
[src]
fn createat<T: AsRef<Path>>(
&self,
path: &T,
flags: c_int,
mode: u32
) -> Result<Fd>
[src]
&self,
path: &T,
flags: c_int,
mode: u32
) -> Result<Fd>
fn mkdirat<T: AsRef<Path>>(&self, path: &T, mode: u32) -> Result<()>
[src]
fn symlinkat<D, T>(&self, target: &D, path: &T) -> Result<()> where
D: AsRef<Path>,
T: AsRef<Path>,
[src]
D: AsRef<Path>,
T: AsRef<Path>,
unsafe fn new(fd: c_int) -> Fd
[src]
fn cwd() -> Fd
[src]
unsafe fn as_unmanaged(&self) -> Fd
[src]
fn into_fdrc(self) -> FdRc
[src]
fn as_fdrc(&self) -> FdRcProxy
[src]
fn dupfd(&self, cloexec: bool) -> Result<Fd>
[src]
fn is_lnkat<T: AsRef<Path>>(&self, fname: &T) -> bool
[src]
fn is_regat<T: AsRef<Path>>(&self, fname: &T) -> bool
[src]
fn is_dirat<T: AsRef<Path>>(&self, fname: &T) -> bool
[src]
fn stat<T>(fname: &T, do_follow: bool) -> Result<stat> where
T: AsRef<Path>,
[src]
T: AsRef<Path>,
fn fstatat<T>(&self, fname: &T, do_follow: bool) -> Result<stat> where
T: AsRef<Path>,
[src]
T: AsRef<Path>,