Skip to main content

load_from_path

Function load_from_path 

Source
pub fn load_from_path(path: &Path) -> ConfigLoadResult
Expand description

Loads configuration from the specified path.

Returns a ConfigLoadResult containing:

  • The parsed configuration (or default on error)
  • The path that was used
  • Any error that occurred

Note: This function sets explicit_path to false. Use load_config for proper handling of explicit vs. default paths.