Skip to main content

SynthesisObserver

Trait SynthesisObserver 

Source
pub trait SynthesisObserver: Send + Sync {
    // Required method
    fn on_event(&self, event: SynthesisEvent);
}
Expand description

Caller-owned telemetry for synthesis and enrollment.

CLI trace mode, robot NDJSON, and benchmarking all consume this same hook; the engine keeps neither global telemetry nor persisted synthesis state.

Required Methods§

Source

fn on_event(&self, event: SynthesisEvent)

Receives one lifecycle event synchronously on the calling thread.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§