pub fn parse(text: &str, path: &Path) -> Result<TuiConfig, TuiConfigError>
Parse TOML text strictly. Unknown keys, wrong types, and invalid enum values are errors naming the offending key; the input text is never echoed back.