pub fn load_config_from_file<T>(config_path: &str) -> Result<T>where
T: Default + DeserializeOwned,Expand description
Load a JSON config file, returning T::default() when the path is empty.
pub fn load_config_from_file<T>(config_path: &str) -> Result<T>where
T: Default + DeserializeOwned,Load a JSON config file, returning T::default() when the path is empty.