diff options
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r-- | src/config/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index ba6017f..255878e 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -16,6 +16,10 @@ use std::path::{Path, PathBuf}; use crate::CONFIG_HIERARCHY; +pub trait ConfigStructure { + fn get_config() -> Self; +} + // implemented by config file implementations to turn a RawConfig into a Config trait Flattenable<T> { fn flatten(self) -> T; |