Skip to content

log_contract

Structs

Functions


firma_sidecar::startup::log_contract::StartupReport

Section titled “firma_sidecar::startup::log_contract::StartupReport”

Struct

Inputs needed to emit the ready sequence.

Each field maps 1:1 to one structured field on the contract lines.

Generic Parameters:

  • ‘a

Fields:

  • config_path: &'a std::path::Path - Filesystem path the sidecar config was read from.
  • authority_endpoint: String - Required Authority endpoint URL.
  • connector_hosts: usize - Per-host connector overrides count.
  • connector_default_timeout_ms: u64 - Default connector timeout, milliseconds.
  • interceptor_addr: String - Interceptor listen address as printed in line 3.

firma_sidecar::startup::log_contract::log_authority_hydrated

Section titled “firma_sidecar::startup::log_contract::log_authority_hydrated”

Function

Emit contract lines 4-5 once both Authority streams have hydrated.

fn log_authority_hydrated(report: &StartupReport, version: Option<&str>, ttl_seconds: u32)

firma_sidecar::startup::log_contract::log_pre_ready_sequence

Section titled “firma_sidecar::startup::log_contract::log_pre_ready_sequence”

Function

Emit contract lines 1-3, which do not depend on the Authority.

fn log_pre_ready_sequence(report: &StartupReport)

firma_sidecar::startup::log_contract::log_ready_line

Section titled “firma_sidecar::startup::log_contract::log_ready_line”

Function

Emit contract line 6 (ready). Callers must have already emitted lines 1-5.

fn log_ready_line()