Enum Adaptive Error
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub enum AdaptiveError {
InvalidConfig(String),
NotFound(String),
Storage(String),
Serialization(Error),
Internal(String),
RegistrationFailed(String),
ChannelClosed(String),
Redis(RedisError),
}
The error type for all nemo-relay-adaptive operations.
Variants
InvalidConfig(String)
InvalidConfig(String)
Configuration validation failed.
NotFound(String)
NotFound(String)
The requested resource was not found.
Storage(String)
Storage(String)
A storage operation failed.
Serialization(Error)
Serialization(Error)
A serialization or deserialization error.
Internal(String)
Internal(String)
An internal error (e.g., lock poisoning).
RegistrationFailed(String)
RegistrationFailed(String)
A registration with the NeMo Relay runtime failed.
ChannelClosed(String)
ChannelClosed(String)
The internal telemetry channel was closed unexpectedly.
Redis(RedisError)
Redis(RedisError)
A Redis operation failed.
Trait Implementations
impl Debug for AdaptiveError
impl Debug for AdaptiveError
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for AdaptiveError
impl Display for AdaptiveError
fmt
fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result
impl Error for AdaptiveError
impl Error for AdaptiveError
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 AdaptiveError
impl From<Error> for AdaptiveError
from
fn from(value: Error) -> Self
impl From<PluginError> for AdaptiveError
impl From<PluginError> for AdaptiveError
from
fn from(value: PluginError) -> Self
impl From<RedisError> for AdaptiveError
impl From<RedisError> for AdaptiveError
from
fn from(source: RedisError) -> Self