Skip to main content

SeqSource

Trait SeqSource 

Source
pub trait SeqSource {
    // Required method
    fn read(
        &self,
        parent: &Path,
        rel: &str,
    ) -> Result<(PathBuf, String), String>;

    // Provided method
    fn root(&self, file: &str) -> PathBuf { ... }
}

Required Methods§

Source

fn read(&self, parent: &Path, rel: &str) -> Result<(PathBuf, String), String>

Provided Methods§

Source

fn root(&self, file: &str) -> PathBuf

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§