Skip to navigation

Struct Diagnostic Memory Page

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 DiagnosticMemoryPage {Show 14 fields
    pub schema_version: u32,
    pub source: Option<DiagnosticSourceIdentity>,
    pub capture_time: Option<Timestamp>,
    pub sequence: u64,
    pub aggregate: Option<DiagnosticMemoryUsage>,
    pub component_occupied_bytes: u64,
    pub shared_or_unassigned_reserved_bytes: u64,
    pub loss: Option<DiagnosticLoss>,
    pub selection: Option<MemorySelectionTotals>,
    pub page: Option<MemorySelectionTotals>,
    pub components: Vec<ComponentMemoryUsage>,
    pub entries: Vec<EntryMemoryUsage>,
    pub resource: Option<ResourceMemoryView>,
    pub continuation: Option<DiagnosticCursor>,
}

Typed diagnostic memory page preserving the shared runtime fields.

Fields

schema_version: u32

Separate envelope version, unrelated to snapshot/catalogue versions.

source: Option<DiagnosticSourceIdentity>

Diagnostic source incarnation.

capture_time: Option<Timestamp>

Diagnostic capture time, independent of resource collection.

sequence: u64

Retained-state revision used to validate continuation.

aggregate: Option<DiagnosticMemoryUsage>

Whole-context backing and occupancy, regardless of selection.

component_occupied_bytes: u64

Complete component attribution, including omitted rows.

shared_or_unassigned_reserved_bytes: u64

Reserved minus complete component attribution; includes free and shared backing.

loss: Option<DiagnosticLoss>

Whole-context retention/admission loss, distinct from omitted page rows.

selection: Option<MemorySelectionTotals>

Whole-selection totals; byte quantities overlap rather than add.

page: Option<MemorySelectionTotals>

Totals for the rows in this response only.

components: Vec<ComponentMemoryUsage>

Bounded selected registration rows.

entries: Vec<EntryMemoryUsage>

Bounded selected retained entry rows, without detail/correlation text.

resource: Option<ResourceMemoryView>

Independently copied resource context; its manager cache is outside core reservation.

continuation: Option<DiagnosticCursor>

Mutation-sensitive continuation; snapshot cursors are rejected.

Trait Implementations

impl Clone for DiagnosticMemoryPage

impl Clone for DiagnosticMemoryPage

clone

fn clone(&self) -> DiagnosticMemoryPage

clone_from

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

impl Debug for DiagnosticMemoryPage

impl Debug for DiagnosticMemoryPage

fmt

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

impl Default for DiagnosticMemoryPage

impl Default for DiagnosticMemoryPage

default

fn default() -> Self

impl Message for DiagnosticMemoryPage

impl Message for DiagnosticMemoryPage

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 DiagnosticMemoryPage

impl Name for DiagnosticMemoryPage

NAME

const NAME: &'static str = "DiagnosticMemoryPage"

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 DiagnosticMemoryPage

impl PartialEq for DiagnosticMemoryPage

eq

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

ne

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

impl WireValue<DiagnosticMemoryPage> for DiagnosticMemoryPage

impl WireValue<DiagnosticMemoryPage> for DiagnosticMemoryPage

to_wire

fn to_wire(self) -> Result<DiagnosticMemoryPage>

from_wire

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

impl StructuralPartialEq for DiagnosticMemoryPage

impl StructuralPartialEq for DiagnosticMemoryPage