pub fn parse_config<T: DeserializeOwned>(
doc: &NodeDoc,
) -> Result<T, ConfigError>Expand description
Helper for factories: parse the node config into T, mapping errors to ConfigError.
pub fn parse_config<T: DeserializeOwned>(
doc: &NodeDoc,
) -> Result<T, ConfigError>Helper for factories: parse the node config into T, mapping errors to ConfigError.