Type Alias deadpool_redis::cluster::HookError

source ·
pub type HookError = HookError<RedisError>;
Expand description

Type alias for using deadpool::managed::HookError with [redis_cluster].

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.