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>)

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<I, N, S, E, W> NewSvcExec<I, N, S, E, W> for Exec
where 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 E
where 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>,