Skip to navigation

Struct Diagnostic Discovery

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 DiagnosticDiscovery {Show 14 fields
    pub discovery_version: u32,
    pub snapshot_version: u32,
    pub catalogue_version: u32,
    pub source: SourceIdentity,
    pub collection_enabled: bool,
    pub queries_enabled: bool,
    pub max_components: DiagnosticNumber,
    pub max_events: DiagnosticNumber,
    pub detail_pool_bytes: DiagnosticNumber,
    pub max_queries: DiagnosticNumber,
    pub max_snapshot_bytes: DiagnosticNumber,
    pub max_owned_bytes: DiagnosticNumber,
    pub memory_inspection: bool,
    pub restricted_detail: bool,
}

Side-effect-free discovery, available even when snapshot queries are disabled.

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: SourceIdentity

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: DiagnosticNumber

Configured component capacity.

max_events: DiagnosticNumber

Configured shared recent-event capacity.

detail_pool_bytes: DiagnosticNumber

Configured retained detail-pool bytes.

max_queries: DiagnosticNumber

Configured snapshot concurrency.

max_snapshot_bytes: DiagnosticNumber

Configured maximum encoded snapshot bytes.

max_owned_bytes: DiagnosticNumber

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.

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<(), Error>

impl<'de> Deserialize<'de> for DiagnosticDiscovery

impl<'de> Deserialize<'de> for DiagnosticDiscovery

deserialize

fn deserialize<__D>(
    __deserializer: __D,
) -> Result<DiagnosticDiscovery, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,

impl PartialEq for DiagnosticDiscovery

impl PartialEq for DiagnosticDiscovery

eq

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

ne

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

impl Serialize for DiagnosticDiscovery

impl Serialize for DiagnosticDiscovery

serialize

fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,

impl Eq for DiagnosticDiscovery

impl Eq for DiagnosticDiscovery

impl StructuralPartialEq for DiagnosticDiscovery

impl StructuralPartialEq for DiagnosticDiscovery