Trait hyper::common::exec::NewSvcExec

source ·
pub trait NewSvcExec<I, N, S: HttpService<Body>, E, W: Watcher<I, S, E>>: Clone {
    // Required method
    fn execute_new_svc(&mut self, fut: NewSvcTask<I, N, S, E, W>);
}

Required Methods§

source

fn execute_new_svc(&mut self, fut: NewSvcTask<I, N, S, E, W>)

Implementors§

source§

impl<I, N, S, E, W> NewSvcExec<I, N, S, E, W> for Execwhere NewSvcTask<I, N, S, E, W>: Future<Output = ()> + Send + 'static, S: HttpService<Body>, W: Watcher<I, S, E>,

source§

impl<I, N, S, E, W> NewSvcExec<I, N, S, E, W> for Ewhere E: Executor<NewSvcTask<I, N, S, E, W>> + Clone, NewSvcTask<I, N, S, E, W>: Future<Output = ()>, S: HttpService<Body>, W: Watcher<I, S, E>,