Skip to main content

dynamic_config_lookup_raw

Function dynamic_config_lookup_raw 

Source
pub fn dynamic_config_lookup_raw(conf_path: &Path, key: &str) -> Option<String>
Expand description

Performs dynamic config lookup raw.

§Parameters

§Returns

Returns Some when crate::config::dynamic_config_lookup_raw can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_core::config::dynamic_config_lookup_raw(std::path::Path::new("app.conf"), "key");
  • crate::config for adjacent helpers that share the same runtime surface.