You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.rs
    path of file: ./repos/holochain/crates/holochain/src/bin/holochain
    
    the code of the file until where you have to start completion: use holochain::conductor::config::ConductorConfig;
use holochain::conductor::manager::handle_shutdown;
use holochain::conductor::Conductor;
use holochain::conductor::ConductorHandle;
use holochain_conductor_api::conductor::paths::DataRootPath;
use holochain_conductor_api::conductor::process::ERROR_CODE;
use holochain_conductor_api::conductor::ConductorConfigError;
use holochain_conductor_api::config::conductor::paths::ConfigRootPath;
use holochain_conductor_api::config::conductor::KeystoreConfig
    
fn load_config(maybe_config_root_path: Option<ConfigRootPath>) -> ConductorConfig {
    if let Some(ref config_root_path) = maybe_config_root_path {
        match ConductorConfig::load_yaml(config_root_path.as_ref()) {
            Err(ConductorConfigError::ConfigMissing(_)) => {
                display_friendly_missing_config_message(maybe_config_root_path.as_ref());
                std::process::exit(ERROR_CODE);
            }
            Err(ConductorConfigError::SerializationError(err)) => {
                display_friendly_malformed_config_message(config_root_path, err);
                std::process::exit(ERROR_CODE);
            }
            result => result.expect("Could not load conductor config"),
        }
    } else {
        display_friendly_missing_config_message(maybe_config_root_path.as_ref());
        std::process::exit(ERROR_CODE);
    }
}