Skip to main content

from_value

Function from_value 

Source
pub fn from_value(
    doc: &Yaml,
    origin: Option<&str>,
) -> Result<Config, AdapterError>
Expand description

Build a Config from an already-decoded YAML tree, produced by whatever library and settings the caller chose. This is the tree-level boundary this module owns; parse is just a default decoder in front of it.