Skip to main content

PageTree

Trait PageTree 

trait PageTree {
    type Entries: Iterator<Item = Result<PathBuf>>;

    // Required methods
    fn read_dir(&self, path: &Path) -> Result<Self::Entries>;
    fn is_dir(&self, path: &Path) -> Result<bool>;
    fn has_index(&self, path: &Path) -> Result<bool>;
}

Required Associated Types§

Required Methods§

fn read_dir(&self, path: &Path) -> Result<Self::Entries>

fn is_dir(&self, path: &Path) -> Result<bool>

fn has_index(&self, path: &Path) -> Result<bool>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§