pub fn parse_conf_str(input: &str) -> Result<ConfStr, ParsingError>
Expand description
Parse a config string.
use questdb_confstr::parse_conf_str;
let config = parse_conf_str("service::key1=value1;key2=value2;")?;
assert_eq!(config.service(), "service");
assert_eq!(config.get("key1"), Some("value1"));
assert_eq!(config.get("key2"), Some("value2"));