pub trait DynControllerHandler<C, B> {
    // Required method
    fn dyn_handle(
        &self,
        controller: &'static C,
        req: Request<B>
    ) -> BoxFuture<'static, Box<dyn DynResponder + Send>>;
}
Expand description

Required Methods§

source

fn dyn_handle( &self, controller: &'static C, req: Request<B> ) -> BoxFuture<'static, Box<dyn DynResponder + Send>>

Implementors§

source§

impl<C, T, H, Fut, R> DynControllerHandler<C, T> for Hwhere R: 'static + Responder + Send, Fut: 'static + Future<Output = R> + Unpin + Send, H: ControllerHandler<C, T, Future = Fut, Responder = R>,