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.
pub fn parse_config<T: DeserializeOwned>(
content: &str,
format: ConfigFormat,
) -> Result<T, SynapticError>Parse a configuration string in the given format into type T.