Skip to navigation

Struct Diagnostic 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 DiagnosticReader { /* private fields */ }

Authorized read facade; each call independently checks live host authority.

Implementations

impl DiagnosticReader

impl DiagnosticReader

discovery

pub fn discovery(&self) -> Result<DiagnosticDiscovery, DiagnosticError>

Canonical discovery for the selected source.

snapshot

pub fn snapshot(
    &self,
    query: &DiagnosticQuery,
) -> Result<DiagnosticSnapshot, DiagnosticError>

Independently owned canonical snapshot, outside the host memory ceiling.

inspect_memory

pub fn inspect_memory(
    &self,
    query: &DiagnosticQuery,
) -> Result<DiagnosticMemoryPage, DiagnosticError>

Independently owned canonical memory page; starts no resource collector.

snapshot_json

pub fn snapshot_json(
    &self,
    query: &DiagnosticQuery,
) -> Result<String, DiagnosticError>

Complete canonical JSON snapshot, preserving exact decimal counter strings.

inspect_memory_json

pub fn inspect_memory_json(
    &self,
    query: &DiagnosticQuery,
) -> Result<String, DiagnosticError>

Complete canonical JSON memory page.

Trait Implementations

impl Clone for DiagnosticReader

impl Clone for DiagnosticReader

clone

fn clone(&self) -> DiagnosticReader

clone_from

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