pub struct RedisStat {
pub pool_max_size: usize,
pub pool_size: usize,
pub pool_available: usize,
pub pool_waiting: usize,
pub conn_created: u64,
pub conn_recycled: u64,
pub conn_idle_timeout_dropped: u64,
pub conn_max_age_dropped: u64,
}Fields§
§pool_max_size: usize§pool_size: usize§pool_available: usize§pool_waiting: usize§conn_created: u64§conn_recycled: u64§conn_idle_timeout_dropped: u64因空闲超时而丢弃的连接数
conn_max_age_dropped: u64因超过最大存活时间而丢弃的连接数
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedisStat
impl RefUnwindSafe for RedisStat
impl Send for RedisStat
impl Sync for RedisStat
impl Unpin for RedisStat
impl UnsafeUnpin for RedisStat
impl UnwindSafe for RedisStat
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