Skip to navigation

Struct Diagnostic Component

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -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

try_record_lazy

pub fn try_record_lazy(
    &self,
    make: impl 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>

Close registration through the same ordered receipt boundary.

Trait Implementations

impl Clone for DiagnosticComponent

impl Clone for DiagnosticComponent

clone

fn clone(&self) -> DiagnosticComponent

clone_from

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