AuthorityConfig
Module: config::AuthorityConfig
Section titled “Module: config::AuthorityConfig”Contents
Section titled “Contents”Functions
to_schema- Map back to the behavior-free [schema::AuthorityConfig] wire shape.
firma_authority::config::AuthorityConfig::to_schema
Section titled “firma_authority::config::AuthorityConfig::to_schema”Function
Map back to the behavior-free [schema::AuthorityConfig] wire shape.
Autostart serializes this schema form (not the validated type) so the
synthetic [authority] TOML uses the stable wire keys.
Errors
Section titled “Errors”This conversion is infallible for builder-produced runtime state. The result remains fallible for API compatibility with existing callers.
fn to_schema(self: &Self) -> Result<schema::AuthorityConfig, ConfigError>