[][src]Trait vfs::VFS

pub trait VFS {
    type PATH: VPath;
    type FILE: VFile;
    type METADATA: VMetadata;
    fn path<T: Into<String>>(&self, path: T) -> Self::PATH;
}

An abstract virtual file system

Associated Types

type PATH: VPath

The type of file objects

type FILE: VFile

The type of path objects

type METADATA: VMetadata

The type of metadata objects

Loading content...

Required methods

fn path<T: Into<String>>(&self, path: T) -> Self::PATH

Create a new path within this filesystem

Loading content...

Implementors

impl VFS for AltrootFS[src]

type PATH = AltPath

type FILE = File

type METADATA = Metadata

impl VFS for MemoryFS[src]

type PATH = MemoryPath

type FILE = MemoryFile

type METADATA = MemoryMetadata

impl VFS for PhysicalFS[src]

type PATH = PathBuf

type FILE = File

type METADATA = Metadata

Loading content...