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.
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.
impl Debug for AdaptiveErrorimpl Debug for AdaptiveError
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for AdaptiveErrorimpl Display for AdaptiveError
fmtfn fmt(&self, __formatter: &mut Formatter<'_>) -> Result
impl Error for AdaptiveErrorimpl Error for AdaptiveError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
descriptionfn description(&self) -> &str
causefn cause(&self) -> Option<&dyn Error>
providefn provide<'a>(&'a self, request: &mut Request<'a>)
impl From< Error> for AdaptiveErrorimpl From<Error> for AdaptiveError
fromfn from(value: Error) -> Self
impl From<PluginError> for AdaptiveErrorimpl From<PluginError> for AdaptiveError
fromfn from(value: PluginError) -> Self
impl From<RedisError> for AdaptiveErrorimpl From<RedisError> for AdaptiveError
fromfn from(source: RedisError) -> Self