Enum AcgError

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub enum AcgError {
    InvalidIntent(String),
    Serialization(Error),
    Internal(String),
    PluginAlreadyRegistered(String),
    PluginNotFound(String),
    TranslationFailed(String),
    IrConstructionError(String),
}

The error type for all Adaptive Cache Governor (ACG) operations.

Variants

InvalidIntent(String)

InvalidIntent(String)

An intent validation failed.

Serialization(Error)

Serialization(Error)

A serialization or deserialization error.

Internal(String)

Internal(String)

An internal error.

PluginAlreadyRegistered(String)

PluginAlreadyRegistered(String)

A plugin with this ID is already registered.

PluginNotFound(String)

PluginNotFound(String)

No plugin found with the given ID.

TranslationFailed(String)

TranslationFailed(String)

Plugin translation failed.

IrConstructionError(String)

IrConstructionError(String)

IR construction failed due to invalid input.

Trait Implementations

impl Debug for AcgError

impl Debug for AcgError

fmt

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

impl Display for AcgError

impl Display for AcgError

fmt

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

impl Error for AcgError

impl Error for AcgError

source

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

description

fn description(&self) -> &str

cause

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

provide

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

impl From< Error> for AcgError

impl From<Error> for AcgError

from

fn from(source: Error) -> Self