Struct virtual_fs::empty_fs::EmptyFileSystem
source · pub struct EmptyFileSystem {}
Trait Implementations§
source§impl Debug for EmptyFileSystem
impl Debug for EmptyFileSystem
source§impl Default for EmptyFileSystem
impl Default for EmptyFileSystem
source§fn default() -> EmptyFileSystem
fn default() -> EmptyFileSystem
Returns the “default value” for a type. Read more
source§impl FileOpener for EmptyFileSystem
impl FileOpener for EmptyFileSystem
fn open( &self, path: &Path, conf: &OpenOptionsConfig ) -> Result<Box<dyn VirtualFile + Send + Sync + 'static>>
source§impl FileSystem for EmptyFileSystem
impl FileSystem for EmptyFileSystem
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.