Struct reool::PoolState[][src]

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

The current state of the pool

Fields

in_flight: usize

The number of in flight connections

connections: usize

The total number of connections

If there are multiple pools it is the summ of all their 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

The resulting type after applying the + operator.

Performs the + operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.