pub trait ConfigParser<T> {
    // Required methods
    fn parse_config<'async_trait>(
    ) -> Pin<Box<dyn Future<Output = CDnsResult<T>> + Send + 'async_trait>>;
    fn get_file_path() -> &'static Path;
    fn is_default(&self) -> bool;
}

Required Methods§

source

fn parse_config<'async_trait>( ) -> Pin<Box<dyn Future<Output = CDnsResult<T>> + Send + 'async_trait>>

source

fn get_file_path() -> &'static Path

source

fn is_default(&self) -> bool

Object Safety§

This trait is not object safe.

Implementors§