pub fn get_server_configuration() -> Result<Config, MantaError>Expand description
Load server.toml. Fails loudly if the file is missing; the error
message includes a minimal example and (when a legacy config.toml is
detected) a field-by-field migration mapping.
Reads the file at get_server_config_file_path and layers
MANTA_*-prefixed environment variables on top (env wins).
ยงErrors
MantaError::NotFoundwhen the resolved config file does not exist on disk; the message embeds a minimalserver.tomlexample and (if applicable) a migration mapping.MantaError::MissingFieldif the resolved path is not valid UTF-8.MantaError::ConfigErroron TOML parse, env-var type-coercion, or builder failures.