summaryrefslogtreecommitdiffstats
path: root/src/source.rs
blob: d3ff3230e951f985b5a0cfb626587b3b1bd45c2d (plain)
1
2
3
4
5
6
7
use crate::object::ConfigObject;

pub trait ConfigSource: std::fmt::Debug {
    type Error: std::error::Error;

    fn load<'a>(&'a self) -> Result<ConfigObject<'a>, Self::Error>;
}