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 DiagnosticLevel {
Warning,
Error,
}

Severity of a plugin configuration or activation diagnostic.

Variants

Warning

Warning

Non-fatal compatibility, validation, or activation issue.

Error

Error

Fatal validation or activation issue that blocks initialization.

Trait Implementations

impl Clone for DiagnosticLevel

impl Clone for DiagnosticLevel

Referenced types: Clone, DiagnosticLevel

clone

fn clone(&self) -> DiagnosticLevel

Referenced types: clone, DiagnosticLevel

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticLevel

impl Debug for DiagnosticLevel

Referenced types: Debug, DiagnosticLevel

fmt

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

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

impl<'de> Deserialize<'de> for DiagnosticLevel

impl<'de> Deserialize<'de> for DiagnosticLevel

Referenced types: Deserialize, DiagnosticLevel

deserialize

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

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

impl JsonSchema for DiagnosticLevel

impl JsonSchema for DiagnosticLevel

Referenced types: DiagnosticLevel

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 DiagnosticLevel

impl PartialEq for DiagnosticLevel

Referenced types: PartialEq, DiagnosticLevel

eq

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

Referenced types: eq, DiagnosticLevel, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticLevel

impl Serialize for DiagnosticLevel

Referenced types: Serialize, DiagnosticLevel

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 DiagnosticLevel

impl WireValue<i32> for DiagnosticLevel

Referenced types: i32, DiagnosticLevel

to_wire

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

Referenced types: Result, i32

from_wire

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

Referenced types: i32, Result, DiagnosticLevel

impl Copy for DiagnosticLevel

impl Copy for DiagnosticLevel

Referenced types: Copy, DiagnosticLevel

impl Eq for DiagnosticLevel

impl Eq for DiagnosticLevel

Referenced types: Eq, DiagnosticLevel

impl StructuralPartialEq for DiagnosticLevel

impl StructuralPartialEq for DiagnosticLevel

Referenced types: StructuralPartialEq, DiagnosticLevel