pub type HookError = HookError<RedisError>;Available on crate feature
cluster only.Expand description
Type alias for using deadpool::managed::HookError with [redis_cluster].
Aliased Type§
pub 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.