pub struct RedisClientStats {
pub connections: u32,
pub idle_connections: u32,
pub max_connections: u32,
pub waiting_for_connection: u32,
}
Expand description
Statistics about the Redis client’s connection client state.
Provides information about the current state of Redis connection clients, including the number of active and idle connections.
Fields§
§connections: u32
The number of connections currently being managed by the pool.
idle_connections: u32
The number of idle connections.
max_connections: u32
The maximum number of connections in the pool.
waiting_for_connection: u32
The number of futures that are currently waiting to get a connection from the pool.
This number increases when there are not enough connections in the pool.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedisClientStats
impl RefUnwindSafe for RedisClientStats
impl Send for RedisClientStats
impl Sync for RedisClientStats
impl Unpin for RedisClientStats
impl UnwindSafe for RedisClientStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more