Struct virtual_fs::union_fs::UnionFileSystem
source · pub struct UnionFileSystem {
pub mounts: Vec<MountPoint>,
}
Expand description
Allows different filesystems of different types to be mounted at various mount points
Fields§
§mounts: Vec<MountPoint>
Implementations§
source§impl UnionFileSystem
impl UnionFileSystem
Trait Implementations§
source§impl Clone for UnionFileSystem
impl Clone for UnionFileSystem
source§fn clone(&self) -> UnionFileSystem
fn clone(&self) -> UnionFileSystem
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 UnionFileSystem
impl Debug for UnionFileSystem
source§impl Default for UnionFileSystem
impl Default for UnionFileSystem
source§fn default() -> UnionFileSystem
fn default() -> UnionFileSystem
Returns the “default value” for a type. Read more
source§impl FileOpener for UnionFileSystem
impl FileOpener for UnionFileSystem
fn open( &self, path: &Path, conf: &OpenOptionsConfig ) -> Result<Box<dyn VirtualFile + Send + Sync>>
source§impl FileSystem for UnionFileSystem
impl FileSystem for UnionFileSystem
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.