LeafContent

Type Alias LeafContent 

Source
pub type LeafContent<T> = LeafContent<RegularFile<T>>;
Expand description

Content of a leaf node in the filesystem tree, specialized for composefs regular files.

Aliased Type§

pub enum LeafContent<T> {
    Regular(RegularFile<T>),
    BlockDevice(u64),
    CharacterDevice(u64),
    Fifo,
    Socket,
    Symlink(Box<OsStr>),
}

Variants§

§

Regular(RegularFile<T>)

A regular file with content of type T.

§

BlockDevice(u64)

A block device with the given device number.

§

CharacterDevice(u64)

A character device with the given device number.

§

Fifo

A named pipe (FIFO).

§

Socket

A Unix domain socket.

A symbolic link pointing to the given target path.