Skip to navigation

Enum Plugin Operation Failure Code

View as MarkdownOpen in Claude

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 PluginOperationFailureCode {
Show 16 variants ArtifactVerification,
Policy,
SchemaValidation,
NativeLoad,
NativeValidation,
NativeRegistration,
NativeCallback,
WorkerLaunch,
WorkerHandshake,
WorkerValidation,
WorkerRegistration,
WorkerTransport,
WorkerCallback,
WorkerCancellation,
WorkerShutdown,
WorkerExit,
}

Failures at observed dynamic-plugin operation boundaries.

Variants (Non-exhaustive)

ArtifactVerification

ArtifactVerification

Failure of the plugin artifact_verification operation.

Policy

Policy

Failure of the plugin policy operation.

SchemaValidation

SchemaValidation

Failure of the plugin schema_validation operation.

NativeLoad

NativeLoad

Failure of the plugin native load operation.

NativeValidation

NativeValidation

Failure of the plugin native validation operation.

NativeRegistration

NativeRegistration

Failure of the plugin native registration operation.

NativeCallback

NativeCallback

Failure of the plugin native callback operation.

WorkerLaunch

WorkerLaunch

Failure of the plugin worker launch operation.

WorkerHandshake

WorkerHandshake

Failure of the plugin worker handshake operation.

WorkerValidation

WorkerValidation

Failure of the plugin worker validation operation.

WorkerRegistration

WorkerRegistration

Failure of the plugin worker registration operation.

WorkerTransport

WorkerTransport

Failure of the plugin worker transport operation.

WorkerCallback

WorkerCallback

Failure of the plugin worker callback operation.

WorkerCancellation

WorkerCancellation

Failure of the plugin worker cancellation operation.

WorkerShutdown

WorkerShutdown

Failure of the plugin worker shutdown operation.

WorkerExit

WorkerExit

Failure of the plugin worker exit operation.

Implementations

impl PluginOperationFailureCode

impl PluginOperationFailureCode

Referenced types: PluginOperationFailureCode

canonical_name

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

Referenced types: str

Stable operation-specific name.

allowed_classes

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

Referenced types: FailureClass

A producer must establish the cause from structured operation evidence.

Trait Implementations

impl Clone for PluginOperationFailureCode

impl Clone for PluginOperationFailureCode

Referenced types: Clone, PluginOperationFailureCode

clone

fn clone(&self) -> PluginOperationFailureCode

Referenced types: clone, PluginOperationFailureCode

clone_from

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

Referenced types: clone_from

impl Debug for PluginOperationFailureCode

impl Debug for PluginOperationFailureCode

Referenced types: Debug, PluginOperationFailureCode

fmt

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

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

impl<'de> Deserialize<'de> for PluginOperationFailureCode

impl<'de> Deserialize<'de> for PluginOperationFailureCode

Referenced types: Deserialize, PluginOperationFailureCode

deserialize

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

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

impl Hash for PluginOperationFailureCode

impl Hash for PluginOperationFailureCode

Referenced types: Hash, PluginOperationFailureCode

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 PluginOperationFailureCode

impl JsonSchema for PluginOperationFailureCode

Referenced types: PluginOperationFailureCode

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 PluginOperationFailureCode

impl Ord for PluginOperationFailureCode

Referenced types: Ord, PluginOperationFailureCode

cmp

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

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

impl PartialEq for PluginOperationFailureCode

Referenced types: PartialEq, PluginOperationFailureCode

eq

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

Referenced types: eq, PluginOperationFailureCode, bool

ne

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

Referenced types: ne, &Rhs, bool

impl PartialOrd for PluginOperationFailureCode

impl PartialOrd for PluginOperationFailureCode

Referenced types: PartialOrd, PluginOperationFailureCode

partial_cmp

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

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

impl Serialize for PluginOperationFailureCode

Referenced types: Serialize, PluginOperationFailureCode

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 PluginOperationFailureCode

impl Copy for PluginOperationFailureCode

Referenced types: Copy, PluginOperationFailureCode

impl Eq for PluginOperationFailureCode

impl Eq for PluginOperationFailureCode

Referenced types: Eq, PluginOperationFailureCode

impl StructuralPartialEq for PluginOperationFailureCode

impl StructuralPartialEq for PluginOperationFailureCode

Referenced types: StructuralPartialEq, PluginOperationFailureCode