Skip to content

AuthorityConfigBuilder

Functions

  • build - Validate the fully-resolved config and return it.

firma_authority::config::AuthorityConfigBuilder::build

Section titled “firma_authority::config::AuthorityConfigBuilder::build”

Function

Validate the fully-resolved config and return it.

Returns [AuthorityConfigError] if a duration cannot be represented by the runtime’s whole-second integer fields or a cross-field invariant is violated.

fn build(self: Self) -> Result<AuthorityConfig, AuthorityConfigError>