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 LoggingFailureCode {
InitializeFailed,
ShutdownFailed,
ProjectionUnavailable,
SinkInitializeFailed,
SinkRecordDropped,
SinkFlushDropped,
SinkFlushFailed,
SinkWriteFailed,
SinkShutdownFailed,
}

Initial Logging failure vocabulary.

Variants (Non-exhaustive)

InitializeFailed

InitializeFailed

Observation identified by logging.initialize_failed.

ShutdownFailed

ShutdownFailed

Observation identified by logging.shutdown_failed.

ProjectionUnavailable

ProjectionUnavailable

Observation identified by logging.projection_unavailable.

SinkInitializeFailed

SinkInitializeFailed

Observation identified by logging.sink.initialize_failed.

SinkRecordDropped

SinkRecordDropped

Observation identified by logging.sink.record_dropped.

SinkFlushDropped

SinkFlushDropped

Observation identified by logging.sink.flush_dropped.

SinkFlushFailed

SinkFlushFailed

Observation identified by logging.sink.flush_failed.

SinkWriteFailed

SinkWriteFailed

Observation identified by logging.sink.write_failed.

SinkShutdownFailed

SinkShutdownFailed

Observation identified by logging.sink.shutdown_failed.

Implementations

impl LoggingFailureCode

impl LoggingFailureCode

Referenced types: LoggingFailureCode

canonical_name

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

Referenced types: str

Stable catalogue name.

allowed_classes

pub const fn allowed_classes(self) -> &'static [FailureClass]

Referenced types: FailureClass

Permitted cause classes for this observation.

Trait Implementations

impl Clone for LoggingFailureCode

impl Clone for LoggingFailureCode

Referenced types: Clone, LoggingFailureCode

clone

fn clone(&self) -> LoggingFailureCode

Referenced types: clone, LoggingFailureCode

clone_from

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

Referenced types: clone_from

impl Debug for LoggingFailureCode

impl Debug for LoggingFailureCode

Referenced types: Debug, LoggingFailureCode

fmt

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

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

impl<'de> Deserialize<'de> for LoggingFailureCode

impl<'de> Deserialize<'de> for LoggingFailureCode

Referenced types: Deserialize, LoggingFailureCode

deserialize

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

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

impl Hash for LoggingFailureCode

impl Hash for LoggingFailureCode

Referenced types: Hash, LoggingFailureCode

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 LoggingFailureCode

impl JsonSchema for LoggingFailureCode

Referenced types: LoggingFailureCode

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 LoggingFailureCode

impl Ord for LoggingFailureCode

Referenced types: Ord, LoggingFailureCode

cmp

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

Referenced types: cmp, LoggingFailureCode, 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 LoggingFailureCode

impl PartialEq for LoggingFailureCode

Referenced types: PartialEq, LoggingFailureCode

eq

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

Referenced types: eq, LoggingFailureCode, bool

ne

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

Referenced types: ne, &Rhs, bool

impl PartialOrd for LoggingFailureCode

impl PartialOrd for LoggingFailureCode

Referenced types: PartialOrd, LoggingFailureCode

partial_cmp

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

Referenced types: partial_cmp, LoggingFailureCode, 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 LoggingFailureCode

impl Serialize for LoggingFailureCode

Referenced types: Serialize, LoggingFailureCode

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 LoggingFailureCode

impl Copy for LoggingFailureCode

Referenced types: Copy, LoggingFailureCode

impl Eq for LoggingFailureCode

impl Eq for LoggingFailureCode

Referenced types: Eq, LoggingFailureCode

impl StructuralPartialEq for LoggingFailureCode

impl StructuralPartialEq for LoggingFailureCode

Referenced types: StructuralPartialEq, LoggingFailureCode