1 2 3 4 5 6 7
use crate::conf::Configuration; pub trait Configurable { fn set_conf(conf: &Configuration); fn get_conf<'a>() -> &'a Configuration; }