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 SuccessCode {
Show 21 variants PluginNativeLoaded,
PluginNativeValidated,
PluginNativeRegistered,
PluginWorkerStarted,
PluginWorkerHandshakeCompleted,
PluginWorkerValidated,
PluginWorkerRegistered,
PluginWorkerProcessCleaned,
CliUpstreamHeadersReceived,
CliUpstreamBodyCompleted,
CliChildCleaned,
CliCommandCompleted,
CliGatewayBound,
CliGatewayStopped,
CliAcquired,
CliChildSpawned,
CliChildWaited,
CliHookForwarded,
LoggingInitialized,
LoggingShutdownCompleted,
SinkInitialized,
}

Explicit successful operations; successes do not recover or clear failures.

Variants (Non-exhaustive)

PluginNativeLoaded

PluginNativeLoaded

Observation identified by plugin.native.loaded.

PluginNativeValidated

PluginNativeValidated

Observation identified by plugin.native.validated.

PluginNativeRegistered

PluginNativeRegistered

Observation identified by plugin.native.registered.

PluginWorkerStarted

PluginWorkerStarted

Observation identified by plugin.worker.started.

PluginWorkerHandshakeCompleted

PluginWorkerHandshakeCompleted

Observation identified by plugin.worker.handshake_completed.

PluginWorkerValidated

PluginWorkerValidated

Observation identified by plugin.worker.validated.

PluginWorkerRegistered

PluginWorkerRegistered

Observation identified by plugin.worker.registered.

PluginWorkerProcessCleaned

PluginWorkerProcessCleaned

Observation identified by plugin.worker.process_cleaned.

CliUpstreamHeadersReceived

CliUpstreamHeadersReceived

An upstream transport returned headers, independently of provider status.

CliUpstreamBodyCompleted

CliUpstreamBodyCompleted

An upstream response body was fully read, independently of provider status.

CliChildCleaned

CliChildCleaned

A supervised child tree was cleaned up.

CliCommandCompleted

CliCommandCompleted

Observation identified by cli.command_completed.

CliGatewayBound

CliGatewayBound

Observation identified by cli.gateway.bound.

CliGatewayStopped

CliGatewayStopped

Observation identified by cli.gateway.stopped.

CliAcquired

CliAcquired

Observation identified by cli.acquired.

CliChildSpawned

CliChildSpawned

Observation identified by cli.child.spawned.

CliChildWaited

CliChildWaited

Observation identified by cli.child.waited.

CliHookForwarded

CliHookForwarded

Observation identified by cli.hook.forwarded.

LoggingInitialized

LoggingInitialized

Observation identified by logging.initialized.

LoggingShutdownCompleted

LoggingShutdownCompleted

Observation identified by logging.shutdown_completed.

SinkInitialized

SinkInitialized

Observation identified by logging.sink.initialized.

Implementations

impl SuccessCode

impl SuccessCode

Referenced types: SuccessCode

canonical_name

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

Referenced types: str

Stable catalogue name.

Trait Implementations

impl Clone for SuccessCode

impl Clone for SuccessCode

Referenced types: Clone, SuccessCode

clone

fn clone(&self) -> SuccessCode

Referenced types: clone, SuccessCode

clone_from

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

Referenced types: clone_from

impl Debug for SuccessCode

impl Debug for SuccessCode

Referenced types: Debug, SuccessCode

fmt

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

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

impl<'de> Deserialize<'de> for SuccessCode

impl<'de> Deserialize<'de> for SuccessCode

Referenced types: Deserialize, SuccessCode

deserialize

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

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

impl Hash for SuccessCode

impl Hash for SuccessCode

Referenced types: Hash, SuccessCode

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 SuccessCode

impl JsonSchema for SuccessCode

Referenced types: SuccessCode

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 SuccessCode

impl Ord for SuccessCode

Referenced types: Ord, SuccessCode

cmp

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

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

impl PartialEq for SuccessCode

Referenced types: PartialEq, SuccessCode

eq

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

Referenced types: eq, SuccessCode, bool

ne

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

Referenced types: ne, &Rhs, bool

impl PartialOrd for SuccessCode

impl PartialOrd for SuccessCode

Referenced types: PartialOrd, SuccessCode

partial_cmp

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

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

impl Serialize for SuccessCode

Referenced types: Serialize, SuccessCode

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 SuccessCode

impl Copy for SuccessCode

Referenced types: Copy, SuccessCode

impl Eq for SuccessCode

impl Eq for SuccessCode

Referenced types: Eq, SuccessCode

impl StructuralPartialEq for SuccessCode

impl StructuralPartialEq for SuccessCode

Referenced types: StructuralPartialEq, SuccessCode