FirmaConfig
Module: schema::FirmaConfig
Section titled “Module: schema::FirmaConfig”Contents
Section titled “Contents”Functions
raw_section- The named section body re-serialized as standalone TOML.section- Deserialize the named[section]directly intoT, without a TOML
firma_config_loader::schema::FirmaConfig::raw_section
Section titled “firma_config_loader::schema::FirmaConfig::raw_section”Function
The named section body re-serialized as standalone TOML.
Prefer section for typed access; this exists for
callers that need the raw TOML body (e.g. to re-parse or forward it).
Supports dotted paths (e.g. "sidecar.authority") to address
sub-tables. A missing section at any level is a hard error
(fail-closed).
Errors
Section titled “Errors”Returns a “missing section” or serialization error.
fn raw_section(self: &Self, section_path: &str) -> anyhow::Result<String>firma_config_loader::schema::FirmaConfig::section
Section titled “firma_config_loader::schema::FirmaConfig::section”Function
Deserialize the named [section] directly into T, without a TOML
string round-trip. The preferred entrypoint; reach for
raw_section only when the raw TOML body is
needed.
Supports dotted paths (e.g. "sidecar.authority") to address
sub-tables. A missing section at any level is a hard error
(fail-closed).
Errors
Section titled “Errors”Returns a “missing section” or deserialization error.
fn section<T>(self: &Self, section_path: &str) -> anyhow::Result<T>