redis_pool 0.10.0

Library to Provide a redis client and cluster client pools.
Documentation
1
2
3
4
5
6
7
8
9
10
use thiserror::Error;
use tokio::sync::AcquireError;

#[derive(Error, Debug)]
pub enum RedisPoolError {
    #[error(transparent)]
    Redis(#[from] redis::RedisError),
    #[error(transparent)]
    AcquireError(#[from] AcquireError),
}