pub struct ProviderPoolStats {
pub available: usize,
pub in_use: usize,
pub total: usize,
pub total_created: u64,
pub max_size: usize,
pub borrow_count: u64,
pub error_count: u64,
}Expand description
Statistics for a provider pool
Fields§
§available: usize§in_use: usize§total: usize§total_created: u64§max_size: usize§borrow_count: u64§error_count: u64Trait Implementations§
Source§impl Clone for ProviderPoolStats
impl Clone for ProviderPoolStats
Source§fn clone(&self) -> ProviderPoolStats
fn clone(&self) -> ProviderPoolStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProviderPoolStats
impl Debug for ProviderPoolStats
Source§impl<'de> Deserialize<'de> for ProviderPoolStats
impl<'de> Deserialize<'de> for ProviderPoolStats
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
Source§impl Display for ProviderPoolStats
impl Display for ProviderPoolStats
Source§impl PartialEq for ProviderPoolStats
impl PartialEq for ProviderPoolStats
Source§impl Serialize for ProviderPoolStats
impl Serialize for ProviderPoolStats
impl StructuralPartialEq for ProviderPoolStats
Auto Trait Implementations§
impl Freeze for ProviderPoolStats
impl RefUnwindSafe for ProviderPoolStats
impl Send for ProviderPoolStats
impl Sync for ProviderPoolStats
impl Unpin for ProviderPoolStats
impl UnsafeUnpin for ProviderPoolStats
impl UnwindSafe for ProviderPoolStats
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