How to fix “the trait `Factory<_, _, _>` is not implemented for `fn(Json) -> impl std::future::Future {auth}” error in RUST using ACTIX?

后端 未结 0 365
攒了一身酷
攒了一身酷 2021-01-23 13:09

I have this simple code:

use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder};
use serde::{Deserialize, Serialize};
use serde_json::{json};
u         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题