Struct 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.
Cloneable activation-scoped diagnostic facade. It does not start a service. Clones share four concurrent-call slots and one in-flight read-buffer slot. Same-thread recursion into the same activation returns DiagnosticError::Busy.
Implementations
impl Diagnostics
impl Diagnostics
capabilities
pub fn capabilities(&self) -> Result<Capabilities, DiagnosticError>
Non-sensitive limits and the separately resolved read grant.
availability
pub fn availability(&self) -> DiagnosticAvailability
Live host availability; startup enablement remains host-owned.
delivery_stats
pub fn delivery_stats(&self) -> DeliveryStats
Fixed local delivery totals shared by runtime/component clones.
component_lazy
pub fn component_lazy<'a>(
&self,
make: impl FnOnce() -> ComponentDeclaration<'a>,
) -> Result<DiagnosticComponent, DiagnosticError>
Admit a component and its vocabulary, skipping the factory when inert.
reader
pub fn reader(&self) -> Result<DiagnosticReader, DiagnosticError>
Obtain a reader only when the host explicitly grants whole-context access.
Trait Implementations
impl Clone for Diagnostics
impl Clone for Diagnostics
clone
fn clone(&self) -> Diagnostics
clone_from
fn clone_from(&mut self, source: &Self)