Function ferris_bot::config::conf::load_config[][src]

pub fn load_config(path: &str) -> Result<Config, Error>
Expand description

Try to load a configuration file

Arguments

  • path - the path to the config file

Return

returns a Result of Config and std::io::Error