HookError

Type Alias HookError 

Source
pub type HookError = HookError<RedisError>;
👎Deprecated since 0.1.1: The functionality of redis_cluster_async has been merged into the redis crate rendering this crate obsolete. Please use deadpool-redis instead.
Expand description

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

Aliased Type§

pub enum HookError {
    Message(String),
    StaticMessage(&'static str),
    Backend(RedisError),
}

Variants§

§

Message(String)

Hook failed for some other reason.

§

StaticMessage(&'static str)

Hook failed for some other reason.

§

Backend(RedisError)

Error caused by the backend.