Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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 enum DiagnosticSeverity {
Trace,
Debug,
Info,
Warning,
Error,
}

Severity of evidence, independent of an operation’s outcome.

Variants

Trace

Trace

Detailed instrumentation useful for tracing execution.

Debug

Debug

Developer-oriented evidence.

Info

Info

Informational observation.

Warning

Warning

An unexpected observation.

Error

Error

A failed operation.

Trait Implementations

impl Clone for DiagnosticSeverity

impl Clone for DiagnosticSeverity

Referenced types: Clone, DiagnosticSeverity

clone

fn clone(&self) -> DiagnosticSeverity

Referenced types: clone, DiagnosticSeverity

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticSeverity

impl Debug for DiagnosticSeverity

Referenced types: Debug, DiagnosticSeverity

fmt

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

Referenced types: fmt, Formatter, Result, (), Error

impl<'de> Deserialize<'de> for DiagnosticSeverity

impl<'de> Deserialize<'de> for DiagnosticSeverity

Referenced types: Deserialize, DiagnosticSeverity

deserialize

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

Referenced types: deserialize, Result, DiagnosticSeverity, Deserializer, Error

impl JsonSchema for DiagnosticSeverity

impl JsonSchema for DiagnosticSeverity

Referenced types: DiagnosticSeverity

schema_name

fn schema_name() -> String

Referenced types: String

schema_id

fn schema_id() -> Cow<'static, str>

Referenced types: Cow, str

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

is_referenceable

fn is_referenceable() -> bool

Referenced types: bool

impl PartialEq for DiagnosticSeverity

impl PartialEq for DiagnosticSeverity

Referenced types: PartialEq, DiagnosticSeverity

eq

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

Referenced types: eq, DiagnosticSeverity, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticSeverity

impl Serialize for DiagnosticSeverity

Referenced types: Serialize, DiagnosticSeverity

serialize

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

Referenced types: serialize, Result, Serializer, Ok, Error

impl WireValue<i32> for DiagnosticSeverity

impl WireValue<i32> for DiagnosticSeverity

Referenced types: WireValue, i32, DiagnosticSeverity

to_wire

fn to_wire(self) -> Result<i32, ConversionError>

Referenced types: to_wire, Result, i32, ConversionError

from_wire

fn from_wire(value: i32) -> Result<DiagnosticSeverity, ConversionError>

Referenced types: from_wire, i32, Result, DiagnosticSeverity, ConversionError

impl Copy for DiagnosticSeverity

impl Copy for DiagnosticSeverity

Referenced types: Copy, DiagnosticSeverity

impl Eq for DiagnosticSeverity

impl Eq for DiagnosticSeverity

Referenced types: Eq, DiagnosticSeverity

impl StructuralPartialEq for DiagnosticSeverity

impl StructuralPartialEq for DiagnosticSeverity

Referenced types: StructuralPartialEq, DiagnosticSeverity