pub fn or_else_with_executor<F>(mut self, f: F) -> Self
    where
        F: FnOnce() -> Option<Box<dyn Executor + Send>>,
    {
        self.pool_config.executor = self.pool_config.executor.or_else(f);
        self
    }
/// Configures the executor to use for spawning connection background tasks,
/// only if no executor has already been configured.
Configures the executor to use for spawning connection background tasks,
only if no executor has already been configured.
Configures the executor to use for spawning connection background tasks only if no executor has already been configured .
pub fn or_else_with_executor<F>(mut self, f: F) -> Self
    where
        F: FnOnce() -> Option<Box<dyn Executor + Send>>,
    {
        self.pool_config.executor = self.pool_config.executor.or_else(f);
        self
    }
pub fn or_else_with_executor < F > ( mut self , f : F ) -> Self where F : FnOnce ( ) -> Option < Box < dyn Executor + Send > > , { self . pool_config . executor = self . pool_config . executor . or_else ( f ) ; self }
Configures the executor to use for spawning connection background tasks,
only if no executor has already been configured.
Configures the executor to use for spawning connection background tasks only if no executor has already been configured .
mut self
f
F