pub trait Node {
    type FileContent;
    type DirectoryContent;

    fn read(self) -> NodeContent<Self::FileContent, Self::DirectoryContent>;
}
Expand description

Node of a filesystem tree.

Required Associated Types

Content of the node if it is a file.

Content of the node if it is a directory.

Required Methods

Read the content of the node.

Implementors