Struct Worker Diagnostics
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.
One negotiated facade per activation. Disabled/unsupported facades are inert.
Implementations
impl WorkerDiagnostics
impl WorkerDiagnostics
availability
pub fn availability(&self) -> DiagnosticAvailability
Negotiated availability, independent of deployment health.
delivery_stats
pub fn delivery_stats(&self) -> DiagnosticDeliveryStats
Read local delivery totals without resetting them.
component
pub async fn component(
&self,
name: &str,
codes: Vec<DiagnosticCodeDefinition>,
) -> Result<DiagnosticComponent, DiagnosticDeliveryError>
Register a bounded vocabulary; disabled mode returns an inert component.
flush
pub async fn flush(
&self,
deadline: Duration,
) -> Result<(), DiagnosticDeliveryError>
Wait for previously admitted work within a deadline; no disk/exporter acknowledgment.
close
pub async fn close(
&self,
deadline: Duration,
) -> Result<(), DiagnosticDeliveryError>
Drain and close within the existing plugin shutdown deadline.
Trait Implementations
impl Clone for WorkerDiagnostics
impl Clone for WorkerDiagnostics
clone
fn clone(&self) -> WorkerDiagnostics
clone_from
fn clone_from(&mut self, source: &Self)