[][src]Struct vfs::impls::overlay::OverlayFS

pub struct OverlayFS { /* fields omitted */ }

An overlay file system combining several filesystems into one, an upper layer with read/write access and lower layers with only read access

Files in upper layers shadow those in lower layers. Directories are the merged view of all layers.

NOTE: To allow removing files and directories (e.g. via remove_file()) from the lower layer filesystems, this mechanism creates a .whiteout folder in the root of the upper level filesystem to mark removed files

Implementations

impl OverlayFS[src]

pub fn new(layers: &[VfsPath]) -> Self[src]

Create a new overlay FileSystem from the given layers, only the first layer is written to

Trait Implementations

impl Clone for OverlayFS[src]

impl Debug for OverlayFS[src]

impl FileSystem for OverlayFS[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.