Struct unix_fd::fd::FdRaw [−][src]
pub struct FdRaw { /* fields omitted */ }
Implementations
impl FdRaw
[src]
impl FdRaw
[src]pub fn into_file(self) -> Result<File>
[src]
pub fn open<T: AsRef<Path>>(path: &T, flags: c_int) -> Result<Self>
[src]
pub fn openat<T: AsRef<Path>>(&self, path: &T, flags: c_int) -> Result<Self>
[src]
pub fn createat<T: AsRef<Path>>(
&self,
path: &T,
flags: c_int,
mode: u32
) -> Result<Self>
[src]
&self,
path: &T,
flags: c_int,
mode: u32
) -> Result<Self>
pub fn mkdirat<T: AsRef<Path>>(&self, path: &T, mode: u32) -> Result<()>
[src]
pub fn symlinkat<D, T>(&self, target: &D, path: &T) -> Result<()> where
D: AsRef<Path>,
T: AsRef<Path>,
[src]
D: AsRef<Path>,
T: AsRef<Path>,
pub unsafe fn new(fd: c_int) -> Self
[src]
pub fn cwd() -> Self
[src]
pub unsafe fn as_unmanaged(&self) -> Self
[src]
pub fn into_fd(self) -> Fd
[src]
pub fn dupfd(&self, cloexec: bool) -> Result<Self>
[src]
pub fn is_lnkat<T: AsRef<Path>>(&self, fname: &T) -> bool
[src]
pub fn is_regat<T: AsRef<Path>>(&self, fname: &T) -> bool
[src]
pub fn is_dirat<T: AsRef<Path>>(&self, fname: &T) -> bool
[src]
pub fn stat<T>(fname: &T, do_follow: bool) -> Result<stat> where
T: AsRef<Path>,
[src]
T: AsRef<Path>,
pub fn fstatat<T>(&self, fname: &T, do_follow: bool) -> Result<stat> where
T: AsRef<Path>,
[src]
T: AsRef<Path>,
pub fn fstat(&self) -> Result<stat>
[src]
pub fn readlinkat<T: AsRef<Path>>(&self, fname: &T) -> Result<OsString>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FdRaw
impl !RefUnwindSafe for FdRaw
impl UnwindSafe for FdRaw
impl UnwindSafe for FdRaw