controller_handler

Function controller_handler 

Source
pub fn controller_handler<C>(
    controller: Arc<C>,
    method_name: String,
) -> impl Fn(ElifRequest) -> Pin<Box<dyn Future<Output = HttpResult<ElifResponse>> + Send>> + Clone + Send + Sync + 'static
where C: ElifController + 'static,
Expand description

Create a controller handler function