pub struct Connections {
pub current: i64,
pub total: u64,
pub opened: u64,
pub error: u64,
pub timeout: u64,
}
Fields§
§current: i64
number of current connections (gauge)
total: u64
number of total connect attempts
opened: u64
number of connections established
error: u64
number of connect attempts that failed
timeout: u64
number of connect attempts that hit timeout
Trait Implementations§
Source§impl Default for Connections
impl Default for Connections
Source§fn default() -> Connections
fn default() -> Connections
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Connections
impl<'de> Deserialize<'de> for Connections
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Connections
impl RefUnwindSafe for Connections
impl Send for Connections
impl Sync for Connections
impl Unpin for Connections
impl UnwindSafe for Connections
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