pub trait ConfigParser<T> { type Output; type Error; // Required method fn parse(&self, config: T) -> Result<Self::Output, Self::Error>; }
配置解析器接口
解析配置