Trait clams::config::Config [−][src]
pub trait Config { type ConfigStruct; fn from_file<T: AsRef<Path>>(
file_path: T
) -> ConfigResult<Self::ConfigStruct>; fn smart_load<T: AsRef<Path>>(
file_paths: &[T]
) -> ConfigResult<Self::ConfigStruct>; }
Associated Types
type ConfigStruct
Required Methods
fn from_file<T: AsRef<Path>>(file_path: T) -> ConfigResult<Self::ConfigStruct>
fn smart_load<T: AsRef<Path>>(
file_paths: &[T]
) -> ConfigResult<Self::ConfigStruct>
file_paths: &[T]
) -> ConfigResult<Self::ConfigStruct>