[][src]Trait viperus::ConfigAdapter

pub trait ConfigAdapter {
    fn parse(&mut self) -> AdapterResult<()>;
fn get_map(&self) -> Map; }

ConfigAdapter mediates from varius config format and Viperus

Required methods

fn parse(&mut self) -> AdapterResult<()>

parse create he interna rappresentation of the config file/mode

fn get_map(&self) -> Map

get_map returns a key value map rappresentation of the actaul config

Loading content...

Implementors

Loading content...