pub trait ConfigParser<T> {
// Required methods
fn parse_config() -> CDnsResult<T>;
fn get_file_path() -> &'static Path;
fn is_default(&self) -> bool;
}
Required Methods§
fn parse_config() -> CDnsResult<T>
fn get_file_path() -> &'static Path
fn is_default(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.