Trait confgr_core::FromFile

source ·
pub trait FromFile: Sized {
    // Required methods
    fn from_file() -> Result<Self, ConfgrError>;
    fn check_file() -> Result<(), ConfgrError>;
    fn get_file_path() -> Option<String>;
}
Expand description

Deserializes a configuration layer from a file.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§