Struct virtual_fs::tmp_fs::TmpFileSystem
source · pub struct TmpFileSystem { /* private fields */ }
Implementations§
source§impl TmpFileSystem
impl TmpFileSystem
Trait Implementations§
source§impl Clone for TmpFileSystem
impl Clone for TmpFileSystem
source§fn clone(&self) -> TmpFileSystem
fn clone(&self) -> TmpFileSystem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TmpFileSystem
impl Debug for TmpFileSystem
source§impl Default for TmpFileSystem
impl Default for TmpFileSystem
source§fn default() -> TmpFileSystem
fn default() -> TmpFileSystem
Returns the “default value” for a type. Read more
source§impl FileSystem for TmpFileSystem
impl FileSystem for TmpFileSystem
fn read_dir(&self, path: &Path) -> Result<ReadDir>
fn create_dir(&self, path: &Path) -> Result<()>
fn remove_dir(&self, path: &Path) -> Result<()>
fn rename(&self, from: &Path, to: &Path) -> Result<()>
fn metadata(&self, path: &Path) -> Result<Metadata>
source§fn symlink_metadata(&self, path: &Path) -> Result<Metadata>
fn symlink_metadata(&self, path: &Path) -> Result<Metadata>
This method gets metadata without following symlinks in the path.
Currently identical to
metadata
because symlinks aren’t implemented
yet.