Skip to navigation

Struct Embedded Diagnostic Info

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 EmbeddedDiagnosticInfo {
    pub discovery: DiagnosticDiscovery,
    pub limits: DiagnosticLimits,
    pub memory: DiagnosticMemoryUsage,
    pub binding_copy_concurrency: usize,
    pub binding_max_page_bytes: usize,
    pub binding_reserved_bytes: usize,
    pub logging_coverage: &'static str,
}

Independent budgets and coverage of the binding adapter; excludes language object overhead and caller-retained copies, and is not an RSS measurement.

Fields

discovery: DiagnosticDiscovery

Canonical core discovery and source identity.

limits: DiagnosticLimits

Configured capacities, even when disabled.

memory: DiagnosticMemoryUsage

Core allocated backing and occupancy.

binding_copy_concurrency: usize

Concurrent adapter conversion limit.

binding_max_page_bytes: usize

Maximum payload in each adapter copy.

binding_reserved_bytes: usize

Total adapter payload reservation, independent of core’s memory ceiling.

logging_coverage: &'static str

Logging attachment availability. Pre-startup log records are never replayed.

Trait Implementations

impl Debug for EmbeddedDiagnosticInfo

impl Debug for EmbeddedDiagnosticInfo

fmt

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

impl Serialize for EmbeddedDiagnosticInfo

impl Serialize for EmbeddedDiagnosticInfo

serialize

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