Skip to navigation

Struct Embedded Diagnostics Reader

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 EmbeddedDiagnosticsReader { /* private fields */ }

Read-only embedded capability. Clones share the service’s copy admission pool. Debug output deliberately contains no snapshot, query, or restricted detail.

Implementations

impl EmbeddedDiagnosticsReader

impl EmbeddedDiagnosticsReader

info

pub fn info(&self) -> Result<EmbeddedDiagnosticInfo, EmbeddedDiagnosticError>

Inspect capacities without allocating a core query workspace.

snapshot

pub fn snapshot(
    &self,
    query: &DiagnosticQuery,
) -> Result<EmbeddedDiagnosticPage, EmbeddedDiagnosticError>

Capture one admitted copy. Drop the core lease before foreign conversion; hold this page until conversion finishes to retain adapter admission.

inspect_memory

pub fn inspect_memory(
    &self,
    query: &DiagnosticQuery,
) -> Result<EmbeddedDiagnosticPage, EmbeddedDiagnosticError>

Inspect memory through the same bounded adapter-copy pool.

inspect_memory_json

pub fn inspect_memory_json(
    &self,
    query: &str,
) -> Result<EmbeddedDiagnosticPage, EmbeddedDiagnosticError>

Bounded canonical JSON query for the separate memory view.

snapshot_json

pub fn snapshot_json(
    &self,
    query: &str,
) -> Result<EmbeddedDiagnosticPage, EmbeddedDiagnosticError>

Bounded canonical JSON query. Missing fields use the core defaults; unknown fields and oversized input are rejected before capture.

Trait Implementations

impl Clone for EmbeddedDiagnosticsReader

impl Clone for EmbeddedDiagnosticsReader

clone

fn clone(&self) -> EmbeddedDiagnosticsReader

clone_from

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

impl Debug for EmbeddedDiagnosticsReader

impl Debug for EmbeddedDiagnosticsReader

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result