Struct 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 RuntimeDiagnostics { /* private fields */ }

Bounded snapshot of active host runtime diagnostics.

Implementations

impl RuntimeDiagnostics

impl RuntimeDiagnostics

entries

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

Return diagnostics in stable code order.

get

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

Return a diagnostic by its stable code.

Trait Implementations

impl Clone for RuntimeDiagnostics

impl Clone for RuntimeDiagnostics

clone

fn clone(&self) -> RuntimeDiagnostics

clone_from

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

impl Debug for RuntimeDiagnostics

impl Debug for RuntimeDiagnostics

fmt

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

impl Default for RuntimeDiagnostics

impl Default for RuntimeDiagnostics

default

fn default() -> RuntimeDiagnostics

impl<'de> Deserialize<'de> for RuntimeDiagnostics

impl<'de> Deserialize<'de> for RuntimeDiagnostics

deserialize

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

impl PartialEq for RuntimeDiagnostics

impl PartialEq for RuntimeDiagnostics

eq

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

ne

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

impl Serialize for RuntimeDiagnostics

impl Serialize for RuntimeDiagnostics

serialize

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

impl Eq for RuntimeDiagnostics

impl Eq for RuntimeDiagnostics

impl StructuralPartialEq for RuntimeDiagnostics

impl StructuralPartialEq for RuntimeDiagnostics