Struct unison::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
Methods
impl Config
[src]
fn load(application_name: &str) -> Result<Self, Error>
[src]
fn reload(&mut self) -> Result<(), Error>
[src]
fn get(&self, path: &str) -> &Value
[src]
fn get_from_config(&self, path: &str) -> &Value
[src]
fn get_from_config_at_path(&self, fs_path: &str, path: &str) -> &Value
[src]
fn get_from_flag(&self, path: &str) -> &Value
[src]
fn get_from_env(&self, path: &str) -> &Value
[src]
Trait Implementations
impl Debug for Config
[src]
impl Clone for Config
[src]
fn clone(&self) -> Config
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more