Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct DiagnosticComponent { /* private fields */ }

Component-scoped authoring handle; code IDs are one-based registration positions.

Implementations

impl DiagnosticComponent

impl DiagnosticComponent

Referenced types: DiagnosticComponent

try_record_lazy

pub fn try_record_lazy(
&self,
make: impl FnOnce() -> DiagnosticObservation,
) -> Result<(), DiagnosticDeliveryError>

Referenced types: FnOnce, DiagnosticObservation, Result, (), DiagnosticDeliveryError

Enqueue a distinct internal sub-operation. Callback completion remains host-owned. Disabled or full facades skip the factory; encoding freezes caller-owned data.

close

pub async fn close(&self) -> Result<(), DiagnosticDeliveryError>

Referenced types: Result, (), DiagnosticDeliveryError

Close registration through the same ordered receipt boundary.

Trait Implementations

impl Clone for DiagnosticComponent

impl Clone for DiagnosticComponent

Referenced types: Clone, DiagnosticComponent

clone

fn clone(&self) -> DiagnosticComponent

Referenced types: clone, DiagnosticComponent

clone_from

fn clone_from(&mut self, source: &Self)

Referenced types: clone_from