Struct Diagnostics Reader
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.
Read capability for one context, without recording or lifecycle authority.
Clones keep the context alive. Materialization requires a bounded lease; disabled collection is explicit instead of fabricated empty evidence.
Implementations
impl DiagnosticsReader
impl DiagnosticsReader
discovery
pub fn discovery(&self) -> DiagnosticDiscovery
Discover configured capabilities without a snapshot lease or state mutation.
memory_usage
pub fn memory_usage(&self) -> DiagnosticMemoryUsage
Inspect reserved backing bytes and occupancy without modifying evidence.
limits
pub fn limits(&self) -> &DiagnosticLimits
Inspect configured capacities separately from actual backing allocation.
snapshot
pub fn snapshot(
&self,
query: &DiagnosticQuery,
) -> Result<SnapshotLease, DiagnosticError>
Capture a bounded consistent page with continuation and coverage.
A held lease occupies one workspace. Serialization follows store unlocking; polling neither increments counters nor resets refresh summaries. Disabled collection returns DiagnosticError::Disabled. An enabled context with no query pool returns DiagnosticError::QueryDisabled.
availability
pub fn availability(&self) -> DiagnosticAvailability
Report configured availability without materializing a snapshot.
Available means enabled, not complete producer integration or deployment health.
Trait Implementations
impl Clone for DiagnosticsReader
impl Clone for DiagnosticsReader
clone
fn clone(&self) -> DiagnosticsReader
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for DiagnosticsReader
impl Debug for DiagnosticsReader
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result