Skip to main content

SchemaSources

Trait SchemaSources 

Source
pub trait SchemaSources {
    // Required method
    fn read(&self, path: &Path) -> Result<String>;
}
Expand description

Where file text comes from.

Required Methods§

Source

fn read(&self, path: &Path) -> Result<String>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§