Skip to main content

load_text

Function load_text 

Source
pub fn load_text(
    toml_text: &str,
    id: &str,
) -> Result<&'static MachineEntry, ConfigError>
Expand description

A machine file’s TOML text, checked as load_file checks a file, with id where machine.id names none: for an FMU, which carries the file among its resources. The same text and id give the same entry, as load_file does.