Struct rustuv::file::FsRequest[src]
pub struct FsRequest {
// some fields omitted
}pub struct FsRequest {
// some fields omitted
}impl FsRequestfn open(io: &mut UvIoFactory, path: &CString, flags: int, mode: int) -> Result<FileWatcher, UvError>fn unlink(loop_: &Loop, path: &CString) -> Result<(), UvError>fn lstat(loop_: &Loop, path: &CString) -> Result<FileStat, UvError>fn stat(loop_: &Loop, path: &CString) -> Result<FileStat, UvError>fn fstat(loop_: &Loop, fd: c_int) -> Result<FileStat, UvError>fn write(loop_: &Loop, fd: c_int, buf: &[u8], offset: i64) -> Result<(), UvError>fn read(loop_: &Loop, fd: c_int, buf: &mut [u8], offset: i64) -> Result<int, UvError>fn mkdir(loop_: &Loop, path: &CString, mode: c_int) -> Result<(), UvError>fn rmdir(loop_: &Loop, path: &CString) -> Result<(), UvError>fn rename(loop_: &Loop, path: &CString, to: &CString) -> Result<(), UvError>fn chmod(loop_: &Loop, path: &CString, mode: c_int) -> Result<(), UvError>fn readdir(loop_: &Loop, path: &CString, flags: c_int) -> Result<Vec<CString>, UvError>fn readlink(loop_: &Loop, path: &CString) -> Result<CString, UvError>fn chown(loop_: &Loop, path: &CString, uid: int, gid: int) -> Result<(), UvError>fn truncate(loop_: &Loop, file: c_int, offset: i64) -> Result<(), UvError>fn link(loop_: &Loop, src: &CString, dst: &CString) -> Result<(), UvError>fn symlink(loop_: &Loop, src: &CString, dst: &CString) -> Result<(), UvError>fn fsync(loop_: &Loop, fd: c_int) -> Result<(), UvError>fn datasync(loop_: &Loop, fd: c_int) -> Result<(), UvError>fn utime(loop_: &Loop, path: &CString, atime: u64, mtime: u64) -> Result<(), UvError>fn get_result(&self) -> ssize_tfn get_stat(&self) -> uv_stat_tfn get_ptr(&self) -> *c_voidfn mkstat(&self) -> FileStatimpl Drop for FsRequestfn drop(&mut self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).