Trait quickcfg::Load

source ·
pub trait Load: Sized {
    // Required method
    fn load(path: &Path) -> Result<Option<Self>, Error>;
}

Required Methods§

source

fn load(path: &Path) -> Result<Option<Self>, Error>

Load the file from the given path.

Implementors§

source§

impl<T> Load for Twhere T: DeserializeOwned,