Struct deadpool_diesel::postgres::Status [−][src]
This is supported on crate feature
postgres
only.Expand description
The current pool status.
Fields
max_size: usize
The maximum size of the pool.
size: usize
The current size of the pool.
available: isize
The number of available objects in the pool. If there are no objects in the pool this number can become negative and stores the number of futures waiting for an object.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Status
impl UnwindSafe for Status
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more