pub fn health_check_interval(mut self, health_check_interval: Option<Duration>) -> Self {
        assert_ne!(
            health_check_interval,
            Some(Duration::from_secs(0)),
            "health_check_interval must be positive"
        );

        self.health_check_interval = health_check_interval;
        self
    }
/// Sets the interval how often a connection will be checked when returning
/// an existing connection from the pool. If set to `None`, a connection is
/// checked every time when returning from the pool. Must be used together
/// with [`test_on_check_out`] set to `true`, otherwise does nothing.
///
/// - `None` means a connection is checked every time when returning from the
///   pool.
/// - Defaults to `None`.
///
/// # Panics
///
/// Panics if `connection_timeout` is the zero duration
///
/// [`test_on_check_out`]: #method.test_on_check_out
Sets the interval how often a connection will be checked when returning
an existing connection from the pool. If set to `None`, a connection is
checked every time when returning from the pool. Must be used together
with [`test_on_check_out`] set to `true`, otherwise does nothing.

`None` means a connection is checked every time when returning from the
pool.
Defaults to `None`.
Sets the interval how often a connection will be checked when returning an existing connection from the pool . If set to ` None ` a connection is checked every time when returning from the pool . Must be used together with [ ` test_on_check_out ` ] set to ` true ` otherwise does nothing . ` None ` means a connection is checked every time when returning from the pool . Defaults to ` None ` .
pub fn health_check_interval(mut self, health_check_interval: Option<Duration>) -> Self {
        assert_ne!(
            health_check_interval,
            Some(Duration::from_secs(0)),
            "health_check_interval must be positive"
        );
        self.health_check_interval = health_check_interval;
        self
    }
pub fn health_check_interval ( mut self , health_check_interval : Option < Duration > ) -> Self { assert_ne ! ( health_check_interval Some ( Duration from_secs ( 0 ) ) " " ) ; self . health_check_interval = health_check_interval ; self }
Sets the interval how often a connection will be checked when returning
an existing connection from the pool.
Sets the interval how often a connection will be checked when returning an existing connection from the pool .
mut self
health_check_interval
Option<Duration>
mut self
health_check_interval
Option<Duration>
panics
Panics if `connection_timeout` is the zero duration

[`test_on_check_out`]: #method.test_on_check_out
Panics if ` connection_timeout ` is the zero duration [ ` test_on_check_out ` ] : #method . test_on_check_out