[−][src]Trait preftool_file::ConfigurationFileFormat
Associated Types
type Provider: ConfigurationProvider + 'static
Required methods
fn get_config<R: Read>(reader: R) -> Result<Self::Provider>
fn default_suffixes() -> &'static [&'static str]
Provided methods
fn file<P: AsRef<Path>>(path: P) -> ConfigurationFileSource<Self>
fn files<P: AsRef<Path>, I: IntoIterator<Item = P> + Clone + 'static, S: SearchPaths + Clone>(
suffixes: I,
search_paths: S,
app_name: String
) -> ConfigurationFileSources<S, Self>
suffixes: I,
search_paths: S,
app_name: String
) -> ConfigurationFileSources<S, Self>
fn default_config_files<S: SearchPaths + Clone>(
search_paths: S,
app_name: String
) -> ConfigurationFileSources<S, Self>
search_paths: S,
app_name: String
) -> ConfigurationFileSources<S, Self>