Type Alias deadpool_redis::sentinel::HookError

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

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

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.