Skip to main content

ConfigParser

Trait ConfigParser 

Source
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§

Source

fn parse(&self, config: T) -> Result<Self::Output, Self::Error>

解析配置

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§