Skip to navigation

Struct Diagnostic Discovery

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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 DiagnosticDiscovery {Show 19 fields
    pub discovery_version: u32,
    pub snapshot_version: u32,
    pub catalogue_version: u32,
    pub source: Option<DiagnosticSourceIdentity>,
    pub collection_enabled: bool,
    pub queries_enabled: bool,
    pub max_components: u64,
    pub max_events: u64,
    pub detail_pool_bytes: u64,
    pub max_queries: u64,
    pub max_snapshot_bytes: u64,
    pub max_owned_bytes: u64,
    pub memory_inspection: bool,
    pub restricted_detail: bool,
    pub producer_support_entries: Vec<DiagnosticProducerSupport>,
    pub max_query_components: u64,
    pub max_query_events: u64,
    pub detailed_memory_inspection: bool,
    pub resource_correlation: bool,
}

Typed diagnostic discovery preserving the shared runtime fields.

Fields

discovery_version: u32

Version of this discovery contract.

snapshot_version: u32

Supported canonical snapshot version.

catalogue_version: u32

Catalogue revision independent of snapshot shape.

source: Option<DiagnosticSourceIdentity>

Running owner identity.

collection_enabled: bool

Whether this owner selected collection at startup.

queries_enabled: bool

Whether snapshot workspace was configured; not a transient busy signal.

max_components: u64

Configured component capacity.

max_events: u64

Configured shared recent-event capacity.

detail_pool_bytes: u64

Configured retained detail-pool bytes.

max_queries: u64

Configured snapshot concurrency.

max_snapshot_bytes: u64

Configured maximum encoded snapshot bytes.

max_owned_bytes: u64

Backing allocation ceiling, excluding transport and whole-process RSS.

memory_inspection: bool

Aggregate backing-memory inspection is implemented.

restricted_detail: bool

Detailed retained evidence requires explicit inspection authority.

producer_support_entries: Vec<DiagnosticProducerSupport>

Compiled producer integrations, not proof of registration or observations. Owners supply a finite inventory; names describe operations, not instances.

max_query_components: u64

Maximum component rows accepted by one read request.

max_query_events: u64

Maximum event rows accepted by one read request.

detailed_memory_inspection: bool

Per-entry/per-component memory inspection is implemented.

resource_correlation: bool

Resource-sample identity correlation is implemented.

Trait Implementations

impl Clone for DiagnosticDiscovery

impl Clone for DiagnosticDiscovery

clone

fn clone(&self) -> DiagnosticDiscovery

clone_from

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

impl Debug for DiagnosticDiscovery

impl Debug for DiagnosticDiscovery

fmt

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

impl Default for DiagnosticDiscovery

impl Default for DiagnosticDiscovery

default

fn default() -> Self

impl Message for DiagnosticDiscovery

impl Message for DiagnosticDiscovery

encoded_len

fn encoded_len(&self) -> usize

clear

fn clear(&mut self)

encode

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
    Self: Sized,

encode_to_vec

fn encode_to_vec(&self) -> Vec<u8> where
    Self: Sized,

encode_length_delimited

fn encode_length_delimited(
    &self,
    buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
    Self: Sized,

encode_length_delimited_to_vec

fn encode_length_delimited_to_vec(&self) -> Vec<u8> where
    Self: Sized,

decode

fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,

decode_length_delimited

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,

merge

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,

merge_length_delimited

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,

impl Name for DiagnosticDiscovery

impl Name for DiagnosticDiscovery

NAME

const NAME: &'static str = "DiagnosticDiscovery"

PACKAGE

const PACKAGE: &'static str = "nvidia.nemo.relay.worker.v1"

full_name

fn full_name() -> String

type_url

fn type_url() -> String

impl PartialEq for DiagnosticDiscovery

impl PartialEq for DiagnosticDiscovery

eq

fn eq(&self, other: &DiagnosticDiscovery) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl WireValue<DiagnosticDiscovery> for DiagnosticDiscovery

impl WireValue<DiagnosticDiscovery> for DiagnosticDiscovery

to_wire

fn to_wire(self) -> Result<DiagnosticDiscovery>

from_wire

fn from_wire(value: DiagnosticDiscovery) -> Result<Self>

impl StructuralPartialEq for DiagnosticDiscovery

impl StructuralPartialEq for DiagnosticDiscovery