Skip to main content

load

Function load 

Source
pub fn load(path: &Path) -> Result<LoadedConfig, ConfigError>
Expand description

Read and parse path into the VELESDB_MEMORY_* variables it defines.

ยงErrors

Returns ConfigError if the file cannot be read or is not valid TOML.