Searched refs:Config (Results 1 – 3 of 3) sorted by relevance
9 pub struct Config { struct20 impl Config { impl173 pub fn load(cfg_path: &String) -> Result<Config, ConfigError> { in load() argument194 let decoded: Config = toml::from_str(&val[..]).unwrap(); in test_toml_parse()
8 xiu::{config, config::Config, service::Service},156 Config::new( in main()
5 super::config::Config,22 cfg: Config,26 pub fn new(cfg: Config) -> Self { in new()