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(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.