Skip to content

SidecarConfig

Functions

  • validate - Validate the entire configuration tree.

firma_sidecar::config::SidecarConfig::validate

Section titled “firma_sidecar::config::SidecarConfig::validate”

Function

Validate the entire configuration tree.

Call immediately after deserialization to surface misconfigurations at startup rather than at request time.

Returns a human-readable message identifying the first invalid field.

fn validate(self: &Self) -> Result<(), String>