pub trait ConfigParser<T> {
type Output;
type Error;
// Required method
fn parse(&self, config: T) -> Result<Self::Output, Self::Error>;
}Expand description
配置解析器接口
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".