Skip to main content

load_config_from_file

Function load_config_from_file 

Source
pub fn load_config_from_file<T>(config_path: &str) -> Result<T>
Expand description

Load a JSON config file, returning T::default() when the path is empty.