Skip to main content

parse_config

Function parse_config 

Source
pub fn parse_config<T: DeserializeOwned>(
    content: &str,
    format: ConfigFormat,
) -> Result<T, SynapticError>
Expand description

Parse a configuration string in the given format into type T.