pub trait LoadSource {
type ErrorType: Error;
// Required method
fn load(&self) -> Result<Vec<String>, Self::ErrorType>;
}
Expand description
§LoadSource
Trait that allows reading the raw text for an external source
pub trait LoadSource {
type ErrorType: Error;
// Required method
fn load(&self) -> Result<Vec<String>, Self::ErrorType>;
}
LoadSource
Trait that allows reading the raw text for an external source