Type Alias deadpool_redis::HookError
source · pub type HookError = HookError<RedisError>;
Expand description
Type alias for using deadpool::managed::HookError
with redis
.
Aliased Type§
enum HookError {
Message(Cow<'static, str>),
Backend(RedisError),
}
Variants§
Message(Cow<'static, str>)
Hook failed for some other reason.
Backend(RedisError)
Error caused by the backend.