Skip to navigation

Struct Diagnostic Window

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 DiagnosticWindow {
    pub resolution_millis: DiagnosticNumber,
    pub bucket_capacity: u32,
    pub buckets: Vec<DiagnosticWindowBucket>,
    pub coverage: DiagnosticWindowCoverage,
}

Fixed-resolution outcome series for the containing component instance.

Batched deltas belong to their observation interval. Edge buckets cannot establish an exact arbitrary rolling interval or reconstruct occurrence times. Refreshing the component does not replace or duplicate this window.

Fields

resolution_millis: DiagnosticNumber

Duration of each fixed bucket.

bucket_capacity: u32

Configured bucket slots; memory is independent of observation rate.

buckets: Vec<DiagnosticWindowBucket>

Bounded selected aggregates; idle covered intervals may have zero values.

coverage: DiagnosticWindowCoverage

Actual interval and edge limitations.

Trait Implementations

impl Clone for DiagnosticWindow

impl Clone for DiagnosticWindow

clone

fn clone(&self) -> DiagnosticWindow

clone_from

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

impl Debug for DiagnosticWindow

impl Debug for DiagnosticWindow

fmt

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

impl<'de> Deserialize<'de> for DiagnosticWindow

impl<'de> Deserialize<'de> for DiagnosticWindow

deserialize

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

impl PartialEq for DiagnosticWindow

impl PartialEq for DiagnosticWindow

eq

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

ne

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

impl Serialize for DiagnosticWindow

impl Serialize for DiagnosticWindow

serialize

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

impl Eq for DiagnosticWindow

impl Eq for DiagnosticWindow

impl StructuralPartialEq for DiagnosticWindow

impl StructuralPartialEq for DiagnosticWindow