Skip to main content

LinkFileSystem

Trait LinkFileSystem 

Source
pub trait LinkFileSystem: FileSystem {
    // Required methods
    fn symlink_one(&mut self, target: &Path, link: &Path) -> VfResult<()>;
    fn hard_link_one(&mut self, source: &Path, link: &Path) -> VfResult<()>;
    fn read_link_one(&mut self, path: &Path) -> VfResult<PathBuf>;
}
Expand description

Symbolic and hard-link operations.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§