pub fn executor<E>(&mut self, exec: E) -> &mut Builder
    where
        E: Executor<Box<dyn Future<Item=(), Error=()> + Send>> + Send + Sync + 'static,
    {
        self.exec = Exec::Executor(Arc::new(exec));
        self
    }
/// Provide an executor to execute background HTTP2 tasks.
Provide an executor to execute background HTTP2 tasks.
Provide an executor to execute background HTTP2 tasks .
pub fn executor<E>(&mut self, exec: E) -> &mut Builder
    where
        E: Executor<Box<dyn Future<Item=(), Error=()> + Send>> + Send + Sync + 'static,
    {
        self.exec = Exec::Executor(Arc::new(exec));
        self
    }
pub fn executor < E > ( & mut self , exec : E ) -> & mut Builder where E : Executor < Box < dyn Future < Item = ( ) , Error = ( ) > + Send > > + Send + Sync + ' static , { self . exec = Exec :: Executor ( Arc :: new ( exec ) ) ; self }
Provide an executor to execute background HTTP2 tasks.
Provide an executor to execute background HTTP2 tasks .
&mut self
exec
E
&mut self
exec
E