[][src]Trait tari_common::configuration::loader::NetworkConfigPath

pub trait NetworkConfigPath {
    fn main_key_prefix() -> &'static str;
}

Load struct from config's main section and network subsection override

Network subsection will be choosen based on use_network key value from the main section defined in this trait.

Wrong network value will result in Error

Required methods

fn main_key_prefix() -> &'static str

Main configuration section

Loading content...

Implementors

Loading content...