Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str, path: &Path) -> Result<TuiConfig, TuiConfigError>
Expand description

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.