Type Alias deadpool_redis::PoolError
source · pub type PoolError = PoolError<RedisError>;
Expand description
Type alias for using deadpool::managed::PoolError
with redis
.
Aliased Type§
enum PoolError {
Timeout(TimeoutType),
Backend(RedisError),
Closed,
NoRuntimeSpecified,
PostCreateHook(HookError<RedisError>),
}
Variants§
Timeout(TimeoutType)
Timeout happened.
Backend(RedisError)
Backend reported an error.
Closed
Pool
has been closed.
NoRuntimeSpecified
No Runtime
was specified.
PostCreateHook(HookError<RedisError>)
A post_create
hook reported an error.