Trait ajars_actix_web::Handler[][src]

pub trait Handler<D, R, E, I, O>: Clone + 'static where
    R: Future<Output = Result<Json<O>, E>>,
    E: ResponseError + 'static,
    I: Serialize + DeserializeOwned + 'static,
    O: Serialize + DeserializeOwned + 'static, 
{ fn call(&self, param: (HttpRequest, Data<D>, I)) -> R; }

Required methods

Implementors