pub trait RuntimeObserver: Send + Sync {
// Required method
fn observe(&self, observation: RuntimeObservation);
// Provided method
fn include_content(&self) -> bool { ... }
}Expand description
Embedder-owned, non-blocking observation port.
Required Methods§
fn observe(&self, observation: RuntimeObservation)
Provided Methods§
Sourcefn include_content(&self) -> bool
fn include_content(&self) -> bool
Whether operation producers should attach full input/output content to
finished observations. Defaults to false — observations stay
content-safe unless an embedder explicitly opts in.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".