pub trait DefinitionLoader {
// Required method
fn load(&self) -> Result<Vec<GenericDefinition>>;
// Provided method
fn claim(&mut self, _path: &Path) -> bool { ... }
}Expand description
Reads configuration from a source and produces generic definitions.