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.

#[non_exhaustive]pub enum NoticeCode {
CliNonzeroExit,
CliPolicyRejected,
CliChildExited,
ConfigurationInherited,
}

Bounded non-failure observations; they never acquire a failure class.

Variants (Non-exhaustive)

CliNonzeroExit

CliNonzeroExit

Observation identified by cli.nonzero_exit.

CliPolicyRejected

CliPolicyRejected

Observation identified by cli.policy_rejected.

CliChildExited

CliChildExited

Observation identified by cli.child.exited.

ConfigurationInherited

ConfigurationInherited

Observation identified by plugin.configuration_inherited.

Implementations

impl NoticeCode

impl NoticeCode

Referenced types: NoticeCode

canonical_name

pub const fn canonical_name(self) -> &'static str

Referenced types: str

Stable catalogue name.

Trait Implementations

impl Clone for NoticeCode

impl Clone for NoticeCode

Referenced types: Clone, NoticeCode

clone

fn clone(&self) -> NoticeCode

Referenced types: clone, NoticeCode

clone_from

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

Referenced types: clone_from

impl Debug for NoticeCode

impl Debug for NoticeCode

Referenced types: Debug, NoticeCode

fmt

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

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

impl<'de> Deserialize<'de> for NoticeCode

impl<'de> Deserialize<'de> for NoticeCode

Referenced types: Deserialize, NoticeCode

deserialize

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

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

impl Hash for NoticeCode

impl Hash for NoticeCode

Referenced types: Hash, NoticeCode

hash

fn hash<__H>(&self, state: &mut __H)where
__H: Hasher,

Referenced types: hash, &mut __H, Hasher

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,

Referenced types: hash_slice, &mut H, Hasher, Sized

impl JsonSchema for NoticeCode

impl JsonSchema for NoticeCode

Referenced types: NoticeCode

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 Ord for NoticeCode

impl Ord for NoticeCode

Referenced types: Ord, NoticeCode

cmp

fn cmp(&self, other: &NoticeCode) -> Ordering

Referenced types: cmp, NoticeCode, Ordering

max

fn max(self, other: Self) -> Selfwhere
Self: Sized,

Referenced types: max, Sized

min

fn min(self, other: Self) -> Selfwhere
Self: Sized,

Referenced types: min, Sized

clamp

fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized,

Referenced types: clamp, Sized

impl PartialEq for NoticeCode

impl PartialEq for NoticeCode

Referenced types: PartialEq, NoticeCode

eq

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

Referenced types: eq, NoticeCode, bool

ne

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

Referenced types: ne, &Rhs, bool

impl PartialOrd for NoticeCode

impl PartialOrd for NoticeCode

Referenced types: PartialOrd, NoticeCode

partial_cmp

fn partial_cmp(&self, other: &NoticeCode) -> Option<Ordering>

Referenced types: partial_cmp, NoticeCode, Option, Ordering

lt

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

Referenced types: lt, &Rhs, bool

le

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

Referenced types: le, &Rhs, bool

gt

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

Referenced types: gt, &Rhs, bool

ge

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

Referenced types: ge, &Rhs, bool

impl Serialize for NoticeCode

impl Serialize for NoticeCode

Referenced types: Serialize, NoticeCode

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 Copy for NoticeCode

impl Copy for NoticeCode

Referenced types: Copy, NoticeCode

impl Eq for NoticeCode

impl Eq for NoticeCode

Referenced types: Eq, NoticeCode

impl StructuralPartialEq for NoticeCode

impl StructuralPartialEq for NoticeCode

Referenced types: StructuralPartialEq, NoticeCode