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 PluginError {
InvalidConfig(String),
Conflict(String),
NotFound(String),
Serialization(Error),
Internal(String),
RegistrationFailed(String),
}

Referenced types: String, Error

Error type for generic plugin operations.

Variants

InvalidConfig(String)

InvalidConfig(String)

Referenced types: String

Configuration validation failed.

Conflict(String)

Conflict(String)

Referenced types: String

The requested mutation conflicts with current plugin state.

NotFound(String)

NotFound(String)

Referenced types: String

The requested plugin resource was not found.

Serialization(Error)

Serialization(Error)

Referenced types: Error

A serialization or deserialization operation failed.

Internal(String)

Internal(String)

Referenced types: String

An internal plugin-system error occurred.

RegistrationFailed(String)

RegistrationFailed(String)

Referenced types: String

A runtime middleware/subscriber registration failed.

Trait Implementations

impl Debug for PluginError

impl Debug for PluginError

Referenced types: Debug, PluginError

fmt

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

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

impl DiagnosticClassifier<PluginError> for PluginErrorClassifier

impl DiagnosticClassifier<PluginError> for PluginErrorClassifier

Referenced types: DiagnosticClassifier, PluginError, PluginErrorClassifier

classify

fn classify(&self, error: &PluginError) -> Classification

Referenced types: classify, PluginError, Classification

impl Display for PluginError

impl Display for PluginError

Referenced types: Display, PluginError

fmt

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

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

impl Error for PluginError

impl Error for PluginError

Referenced types: Error, PluginError

source

fn source(&self) -> Option<&(dyn Error + 'static)>

Referenced types: source, Option, Error

description

fn description(&self) -> &str

Referenced types: description, str

cause

fn cause(&self) -> Option<&dyn Error>

Referenced types: cause, Option, Error

provide

fn provide<'a>(&'a self, request: &mut Request<'a>)

Referenced types: provide, Request

impl From<&str> for PluginError

impl From<&str> for PluginError

Referenced types: From, str, PluginError

from

fn from(message: &str) -> PluginError

Referenced types: from, str, PluginError

impl From< Error> for PluginError

impl From< Error> for PluginError

Referenced types: From, Error, PluginError

from

fn from(source: Error) -> PluginError

Referenced types: from, Error, PluginError

impl From<String> for PluginError

impl From<String> for PluginError

Referenced types: From, String, PluginError

from

fn from(message: String) -> PluginError

Referenced types: from, String, PluginError