pub trait DynConfig {
// Required methods
fn validate(&self) -> CoreResult<()>;
fn architecture(&self) -> &'static str;
fn as_any(&self) -> &dyn Any;
}Expand description
A dyn-compatible version of Config trait for runtime usage
Required Methods§
Sourcefn validate(&self) -> CoreResult<()>
fn validate(&self) -> CoreResult<()>
Validates the configuration for correctness
Sourcefn architecture(&self) -> &'static str
fn architecture(&self) -> &'static str
Returns the architecture name for this configuration