pub struct ConnectionPoolInfo {
pub active_connections: usize,
pub total_connections: usize,
pub bytes_sent: u64,
pub bytes_received: u64,
}Expand description
Connection pool information
Fields§
§active_connections: usizeNumber of active connections
total_connections: usizeTotal connections ever created
bytes_sent: u64Bytes sent through pool
bytes_received: u64Bytes received through pool
Trait Implementations§
Source§impl Clone for ConnectionPoolInfo
impl Clone for ConnectionPoolInfo
Source§fn clone(&self) -> ConnectionPoolInfo
fn clone(&self) -> ConnectionPoolInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConnectionPoolInfo
impl RefUnwindSafe for ConnectionPoolInfo
impl Send for ConnectionPoolInfo
impl Sync for ConnectionPoolInfo
impl Unpin for ConnectionPoolInfo
impl UnwindSafe for ConnectionPoolInfo
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