Struct Diagnostic Memory Usage
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 DiagnosticMemoryUsage {Show 20 fields
pub reserved_bytes: u64,
pub components: u64,
pub counters: u64,
pub events: u64,
pub event_slot_bytes: u64,
pub event_capacity: u64,
pub history_reserved_bytes: u64,
pub history_occupied_bytes: u64,
pub detail_bytes: u64,
pub detail_capacity_bytes: u64,
pub detail_reserved_bytes: u64,
pub detail_metadata_bytes: u64,
pub detail_logical_bytes: u64,
pub detail_slack_bytes: u64,
pub metadata_bytes: u64,
pub window_buckets: u64,
pub extensions: u64,
pub query_workspaces: u64,
pub projections: u64,
pub projection_workspaces: u64,
}
Typed diagnostic memory usage preserving the shared runtime fields.
Fields
reserved_bytes: u64
Bytes reserved for context-owned backend backing storage.
components: u64
Occupied active or retained closed component slots.
counters: u64
Occupied lifetime code-counter slots across admitted components.
events: u64
Currently retained shared circular-history event headers.
event_slot_bytes: u64
Compiled size of one fixed event slot, excluding separately stored text.
event_capacity: u64
Event slots admitted for the shared circular history.
history_reserved_bytes: u64
Complete history allocation, including all slots, shared header, and padding.
history_occupied_bytes: u64
Retained slot bytes; excludes the shared history header and separate text pool.
detail_bytes: u64
Pool payload bytes occupied in whole reclaimable blocks.
detail_capacity_bytes: u64
Actual payload capacity, rounded down to whole detail blocks.
detail_reserved_bytes: u64
Complete detail-pool backing: payload capacity plus all block metadata.
detail_metadata_bytes: u64
Reserved metadata bytes for all detail blocks, occupied or free.
detail_logical_bytes: u64
Retained UTF-8 message and correlation bytes, excluding block slack.
detail_slack_bytes: u64
Unused payload bytes inside occupied blocks; excludes entirely free blocks.
metadata_bytes: u64
Admitted key, ownership, and extension metadata content bytes.
window_buckets: u64
Reserved rolling outcome-bucket slots belonging to components.
extensions: u64
Admitted extension descriptors, including retained closed components.
query_workspaces: u64
Query leases currently holding preallocated materialization buffers.
projections: u64
Optional projection subscriptions currently admitted.
projection_workspaces: u64
Projection workspaces currently materializing or delivering evidence.
Trait Implementations
impl Clone for DiagnosticMemoryUsage
impl Clone for DiagnosticMemoryUsage
clone
fn clone(&self) -> DiagnosticMemoryUsage
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for DiagnosticMemoryUsage
impl Debug for DiagnosticMemoryUsage
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for DiagnosticMemoryUsage
impl Default for DiagnosticMemoryUsage
default
fn default() -> Self
impl Hash for DiagnosticMemoryUsage
impl Hash for DiagnosticMemoryUsage
hash
fn hash<__H: Hasher>(&self, state: &mut __H)
hash_slice
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
impl Message for DiagnosticMemoryUsage
impl Message for DiagnosticMemoryUsage
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 DiagnosticMemoryUsage
impl Name for DiagnosticMemoryUsage
NAME
const NAME: &'static str = "DiagnosticMemoryUsage"
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 DiagnosticMemoryUsage
impl PartialEq for DiagnosticMemoryUsage
eq
fn eq(&self, other: &DiagnosticMemoryUsage) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl WireValue<DiagnosticMemoryUsage> for DiagnosticMemoryUsage
impl WireValue<DiagnosticMemoryUsage> for DiagnosticMemoryUsage
to_wire
fn to_wire(self) -> Result<DiagnosticMemoryUsage>
from_wire
fn from_wire(value: DiagnosticMemoryUsage) -> Result<Self>
impl Copy for DiagnosticMemoryUsage
impl Copy for DiagnosticMemoryUsage
impl Eq for DiagnosticMemoryUsage
impl Eq for DiagnosticMemoryUsage
impl StructuralPartialEq for DiagnosticMemoryUsage
impl StructuralPartialEq for DiagnosticMemoryUsage