Trait cdns_rs::a_sync::cfg_parsers::ConfigParser
source · 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§
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
Object Safety§
This trait is not object safe.