Struct relay_redis::Stats
source · pub struct Stats {
pub connections: u32,
pub idle_connections: u32,
}
Expand description
Stats about how the RedisPool
is performing.
Fields§
§connections: u32
The number of connections currently being managed by the pool.
idle_connections: u32
The number of idle connections.
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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