pub struct ConnectionPoolStats {
pub messages_per_connection: HashMap<String, usize>,
pub bytes_per_connection: HashMap<String, u64>,
pub latency_per_connection: HashMap<String, Duration>,
}
Expand description
Connection pool statistics
Fields§
§messages_per_connection: HashMap<String, usize>
Messages sent per connection
bytes_per_connection: HashMap<String, u64>
Bytes per connection
latency_per_connection: HashMap<String, Duration>
Average latency per connection
Trait Implementations§
Source§impl Clone for ConnectionPoolStats
impl Clone for ConnectionPoolStats
Source§fn clone(&self) -> ConnectionPoolStats
fn clone(&self) -> ConnectionPoolStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ConnectionPoolStats
impl RefUnwindSafe for ConnectionPoolStats
impl Send for ConnectionPoolStats
impl Sync for ConnectionPoolStats
impl Unpin for ConnectionPoolStats
impl UnwindSafe for ConnectionPoolStats
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