Struct Diagnostic Memory Page
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 DiagnosticMemoryPage {Show 14 fields
pub schema_version: u32,
pub source: SourceIdentity,
pub captured_at: DateTime<Utc>,
pub sequence: DiagnosticNumber,
pub aggregate: DiagnosticMemoryUsage,
pub component_occupied_bytes: DiagnosticNumber,
pub shared_or_unassigned_reserved_bytes: DiagnosticNumber,
pub loss: DiagnosticLoss,
pub selection: MemorySelectionTotals,
pub page: MemorySelectionTotals,
pub components: Vec<ComponentMemoryUsage>,
pub entries: Vec<EntryMemoryUsage>,
pub resource: ResourceMemoryView,
pub continuation: Option<DiagnosticCursor>,
}
Bounded independent memory view; inspection neither records nor freezes history.
Fields
schema_version: u32
Separate envelope version, unrelated to snapshot/catalogue versions.
source: SourceIdentity
Diagnostic source incarnation.
captured_at: DateTime<Utc>
Diagnostic capture time, independent of resource collection.
sequence: DiagnosticNumber
Retained-state revision used to validate continuation.
aggregate: DiagnosticMemoryUsage
Whole-context backing and occupancy, regardless of selection.
component_occupied_bytes: DiagnosticNumber
Complete component attribution, including omitted rows.
shared_or_unassigned_reserved_bytes: DiagnosticNumber
Reserved minus complete component attribution; includes free and shared backing.
loss: DiagnosticLoss
Whole-context retention/admission loss, distinct from omitted page rows.
selection: MemorySelectionTotals
Whole-selection totals; byte quantities overlap rather than add.
page: 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: 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<(), Error>
impl<'de> Deserialize<'de> for DiagnosticMemoryPage
impl<'de> Deserialize<'de> for DiagnosticMemoryPage
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagnosticMemoryPage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for DiagnosticMemoryPage
impl PartialEq for DiagnosticMemoryPage
eq
fn eq(&self, other: &DiagnosticMemoryPage) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for DiagnosticMemoryPage
impl Serialize for DiagnosticMemoryPage
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for DiagnosticMemoryPage
impl StructuralPartialEq for DiagnosticMemoryPage