Trait wasi_common::dir::WasiDir [−][src]
Required methods
fn as_any(&self) -> &dyn Any
[src]
fn open_file(
&self,
symlink_follow: bool,
path: &str,
oflags: OFlags,
read: bool,
write: bool,
fdflags: FdFlags
) -> Result<Box<dyn WasiFile>, Error>
[src]
&self,
symlink_follow: bool,
path: &str,
oflags: OFlags,
read: bool,
write: bool,
fdflags: FdFlags
) -> Result<Box<dyn WasiFile>, Error>
fn open_dir(
&self,
symlink_follow: bool,
path: &str
) -> Result<Box<dyn WasiDir>, Error>
[src]
&self,
symlink_follow: bool,
path: &str
) -> Result<Box<dyn WasiDir>, Error>
fn create_dir(&self, path: &str) -> Result<(), Error>
[src]
fn readdir(
&self,
cursor: ReaddirCursor
) -> Result<Box<dyn Iterator<Item = Result<ReaddirEntity, Error>>>, Error>
[src]
&self,
cursor: ReaddirCursor
) -> Result<Box<dyn Iterator<Item = Result<ReaddirEntity, Error>>>, Error>
fn symlink(&self, old_path: &str, new_path: &str) -> Result<(), Error>
[src]
fn remove_dir(&self, path: &str) -> Result<(), Error>
[src]
fn unlink_file(&self, path: &str) -> Result<(), Error>
[src]
fn read_link(&self, path: &str) -> Result<PathBuf, Error>
[src]
fn get_filestat(&self) -> Result<Filestat, Error>
[src]
fn get_path_filestat(
&self,
path: &str,
follow_symlinks: bool
) -> Result<Filestat, Error>
[src]
&self,
path: &str,
follow_symlinks: bool
) -> Result<Filestat, Error>
fn rename(
&self,
path: &str,
dest_dir: &dyn WasiDir,
dest_path: &str
) -> Result<(), Error>
[src]
&self,
path: &str,
dest_dir: &dyn WasiDir,
dest_path: &str
) -> Result<(), Error>
fn hard_link(
&self,
path: &str,
target_dir: &dyn WasiDir,
target_path: &str
) -> Result<(), Error>
[src]
&self,
path: &str,
target_dir: &dyn WasiDir,
target_path: &str
) -> Result<(), Error>
fn set_times(
&self,
path: &str,
atime: Option<SystemTimeSpec>,
mtime: Option<SystemTimeSpec>,
follow_symlinks: bool
) -> Result<(), Error>
[src]
&self,
path: &str,
atime: Option<SystemTimeSpec>,
mtime: Option<SystemTimeSpec>,
follow_symlinks: bool
) -> Result<(), Error>