Struct Open Telemetry Runtime Diagnostics

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.

1pub struct OpenTelemetryRuntimeDiagnostics { /* private fields */ }

Snapshot of bounded runtime diagnostics recorded by an OpenTelemetry subscriber.

Implementations

impl OpenTelemetryRuntimeDiagnostics

impl OpenTelemetryRuntimeDiagnostics

entries

pub fn entries(&self) -> &[OpenTelemetryRuntimeDiagnostic]

Return diagnostics in stable code order.

get

pub fn get(&self, code: &str) -> Option<&OpenTelemetryRuntimeDiagnostic>

Return a diagnostic by its stable code.

Trait Implementations

impl Clone for OpenTelemetryRuntimeDiagnostics

impl Clone for OpenTelemetryRuntimeDiagnostics

clone

fn clone(&self) -> OpenTelemetryRuntimeDiagnostics

clone_from

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

impl Debug for OpenTelemetryRuntimeDiagnostics

impl Debug for OpenTelemetryRuntimeDiagnostics

fmt

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

impl Default for OpenTelemetryRuntimeDiagnostics

impl Default for OpenTelemetryRuntimeDiagnostics

default

fn default() -> OpenTelemetryRuntimeDiagnostics

impl PartialEq for OpenTelemetryRuntimeDiagnostics

impl PartialEq for OpenTelemetryRuntimeDiagnostics

eq

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

ne

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

impl Eq for OpenTelemetryRuntimeDiagnostics

impl Eq for OpenTelemetryRuntimeDiagnostics

impl StructuralPartialEq for OpenTelemetryRuntimeDiagnostics

impl StructuralPartialEq for OpenTelemetryRuntimeDiagnostics