pub trait ConfigurationLoader: Send + Sync + Debug {
    // Required methods
    fn name(&self) -> &'static str;
    fn scheme_list(&self) -> Vec<String>;
    fn try_load(
        &self,
        source: Url,
        maybe_whitelist: Option<&[String]>
    ) -> Result<HashMap<String, ConfigurationEntity>, ConfigurationLoadError>;
}

Required Methods§

source

fn name(&self) -> &'static str

source

fn scheme_list(&self) -> Vec<String>

source

fn try_load( &self, source: Url, maybe_whitelist: Option<&[String]> ) -> Result<HashMap<String, ConfigurationEntity>, ConfigurationLoadError>

Implementors§