[][src]Struct reool::PoolState

pub struct PoolState {
    pub in_flight: usize,
    pub connections: usize,
    pub reservations: usize,
    pub idle: usize,
    pub pools: usize,
}

The current state of the pool

Fields

in_flight: usize

The number of in flight connections

connections: usize

The total number of connections

reservations: usize

The number of reservations waiting for a connections

idle: usize

the number of idle connections ready to be checked out

pools: usize

The number of sub pools

Trait Implementations

impl Clone for PoolState[src]

impl Copy for PoolState[src]

impl Default for PoolState[src]

impl Debug for PoolState[src]

impl Add<PoolState> for PoolState[src]

type Output = Self

The resulting type after applying the + operator.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,