pub struct ManagerStats {
pub active_connections: usize,
pub total_connections: u64,
pub timeout_closures: u64,
pub error_closures: u64,
pub normal_closures: u64,
pub memory_usage: u64,
pub peak_connections: usize,
}Expand description
Connection manager statistics
Fields§
§active_connections: usizeTotal number of active connections
total_connections: u64Total number of connections since server start
timeout_closures: u64Number of connections closed due to timeout
error_closures: u64Number of connections closed due to errors
normal_closures: u64Number of connections closed normally
memory_usage: u64Current memory usage in bytes
peak_connections: usizePeak number of concurrent connections
Trait Implementations§
Source§impl Clone for ManagerStats
impl Clone for ManagerStats
Source§fn clone(&self) -> ManagerStats
fn clone(&self) -> ManagerStats
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 moreSource§impl Debug for ManagerStats
impl Debug for ManagerStats
Auto Trait Implementations§
impl Freeze for ManagerStats
impl RefUnwindSafe for ManagerStats
impl Send for ManagerStats
impl Sync for ManagerStats
impl Unpin for ManagerStats
impl UnwindSafe for ManagerStats
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