Struct Runtime Diagnostic

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 RuntimeDiagnostic {
    pub code: String,
    pub component: String,
    pub field: Option<String>,
    pub message: String,
    pub session_id: Option<String>,
    pub count: u64,
}

Bounded aggregate for a runtime failure observed by an active plugin.

Fields

code: String

Stable failure classification.

component: String

Plugin component that reported the failure.

field: Option<String>

Optional configuration field associated with the failure.

message: String

Latest human-readable failure detail.

session_id: Option<String>

Latest affected trajectory session identifier.

count: u64

Number of failures aggregated into this entry.

Trait Implementations

impl Clone for RuntimeDiagnostic

impl Clone for RuntimeDiagnostic

clone

fn clone(&self) -> RuntimeDiagnostic

clone_from

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

impl Debug for RuntimeDiagnostic

impl Debug for RuntimeDiagnostic

fmt

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

impl<'de> Deserialize<'de> for RuntimeDiagnostic

impl<'de> Deserialize<'de> for RuntimeDiagnostic

deserialize

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

impl Serialize for RuntimeDiagnostic

impl Serialize for RuntimeDiagnostic

serialize

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