Struct vfs::memory::MemoryFS [] [src]

pub struct MemoryFS {
    // some fields omitted
}

An ephemeral in-memory file system, intended mainly for unit tests

Methods

impl MemoryFS
[src]

fn new() -> MemoryFS

Trait Implementations

impl Debug for MemoryFS
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl VFS for MemoryFS
[src]

type PATH = MemoryPath

The type of file objects

type FILE = MemoryFile

The type of path objects

type METADATA = MemoryMetadata

The type of metadata objects

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

Create a new path within this filesystem