Struct pepe_pgpool::PoolOpts
source · pub struct PoolOpts {
pub connection_timeout: Option<Duration>,
pub idle_timeout: Option<Duration>,
pub max_size: Option<u32>,
pub min_idle: Option<u32>,
pub test_on_check_out: Option<bool>,
}Fields§
§connection_timeout: Option<Duration>§idle_timeout: Option<Duration>§max_size: Option<u32>§min_idle: Option<u32>§test_on_check_out: Option<bool>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PoolOpts
impl Send for PoolOpts
impl Sync for PoolOpts
impl Unpin for PoolOpts
impl UnwindSafe for PoolOpts
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
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more