pub struct State {
pub connections: u32,
pub idle_connections: u32,
// some fields omitted
}
Expand description
Information about the state of a Pool
.
The number of connections currently being managed by the pool.
The number of idle connections.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Convert self
to an expression for Diesel’s query builder. Read more
Convert &self
to an expression for Diesel’s query builder. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.